mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-03-16 22:10:28 +00:00
Added .editorconfig (#2740)
* Added .editorconfig * Added json and yml for 2 space indenting * Added scss for 4 space indenting
This commit is contained in:
parent
a65c707db3
commit
74d13822d5
1 changed files with 17 additions and 0 deletions
17
.editorconfig
Normal file
17
.editorconfig
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
root = true
|
||||
|
||||
[*]
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
|
||||
[*.{css,js,json,py,yml}]
|
||||
indent_style = space
|
||||
|
||||
[*.{js,py}]
|
||||
charset = utf-8
|
||||
|
||||
[*.{css,py,scss}]
|
||||
indent_size = 4
|
||||
|
||||
[*.{js,json,yml}]
|
||||
ident_size = 2
|
||||
Loading…
Reference in a new issue