mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Amend editor config for black
Also restructure, separate js and move to tabs Add md spec
This commit is contained in:
parent
5f2bd0a378
commit
698594087c
@ -2,15 +2,25 @@
|
|||||||
|
|
||||||
root = true
|
root = true
|
||||||
|
|
||||||
[*.{js,py,html}]
|
[*]
|
||||||
charset = utf-8
|
charset = utf-8
|
||||||
|
end_of_line = lf
|
||||||
|
trim_trailing_whitespace = true
|
||||||
insert_final_newline = true
|
insert_final_newline = true
|
||||||
# end_of_line = lf
|
|
||||||
|
|
||||||
[*.py]
|
[*.py]
|
||||||
indent_style = space
|
profile = black
|
||||||
indent_size = 4
|
# > Handled by Black
|
||||||
|
# indent_style = space
|
||||||
|
# indent_size = 4
|
||||||
|
|
||||||
[*.{js,html}]
|
[*.md]
|
||||||
|
trim_trailing_whitespace = false
|
||||||
|
|
||||||
|
[*.html]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
|
|
||||||
|
[*.js]
|
||||||
|
indent_style = tab
|
||||||
|
indent_size = 4
|
||||||
|
Loading…
Reference in New Issue
Block a user