Add .editorconfig file

pull/14271/head
Ladislas de Toldi 2021-02-11 22:09:32 +01:00
parent 36b6013afe
commit b23a8eb1c3
No known key found for this signature in database
GPG Key ID: C5241848279CD797
1 changed files with 21 additions and 0 deletions

21
.editorconfig Normal file
View File

@ -0,0 +1,21 @@
# Copyright (c) 2021 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
# Mbed OS Coding style spec for editors.
# References:
# [EC] http://editorconfig.org/
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.yml]
indent_style = space
indent_size = 2