Skip to content

Commit

Permalink
Create .editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Fehler authored Apr 20, 2020
1 parent d919ee4 commit 71068ac
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
root = true

[*]
indent_style = space
tab_width = 4
indent_size = 4
charset = utf-8
trim_trailing_whitespace = false
insert_final_newline = true
curly_bracket_next_line = true
spaces_around_operators = true

# 2-space indentation
[{package.json,package-lock.json,**.yml}]
indent_style = space
indent_size = 2
tab_width = 2

# no final newline
[{**.sql,**.json}]
insert_final_newline = false

0 comments on commit 71068ac

Please sign in to comment.