editorconfig: add one matching current style
Add a editorconfig (https://editorconfig.org/) config file so most editors can, by default, get the right indent settings.
This commit is contained in:
parent
24f41495d9
commit
f1b9361837
1 changed files with 19 additions and 0 deletions
19
.editorconfig
Normal file
19
.editorconfig
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
root = true
|
||||
|
||||
[*]
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
charset = utf-8
|
||||
|
||||
[*.py]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
[*.json]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[*.{yml,yaml}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
Loading…
Add table
Add a link
Reference in a new issue