Introduce .editorconfig (#149)
.editorconfig will allow maintaining consistent coding style across various text editors and IDEs
This commit is contained in:
parent
4bb6842a4d
commit
59e9fbd336
1 changed files with 14 additions and 0 deletions
14
.editorconfig
Normal file
14
.editorconfig
Normal file
|
@ -0,0 +1,14 @@
|
|||
# EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs
|
||||
# @see http://editorconfig.org
|
||||
root = true
|
||||
|
||||
[*]
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
indent_style = spaces
|
||||
tab_width = 2
|
||||
|
||||
[{*.{rb,erb,js,coffee,json,yml,css,scss,sh,markdown,md,html}]
|
||||
indent_size = 2
|
Loading…
Reference in a new issue