add eslint and editorconfig

This commit is contained in:
Thomas Ruoff
2017-02-14 22:26:44 +01:00
parent 1be838f589
commit b33f877971
4 changed files with 100 additions and 0 deletions

15
.editorconfig Normal file
View File

@@ -0,0 +1,15 @@
; EditorConfig file: http://EditorConfig.org
; Install the "EditorConfig" plugin into Sublime Text to use
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
[package.json]
indent_size = 2