Skip to content

Commit

Permalink
Added .editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
nicjansma committed Nov 26, 2018
1 parent 6e38e67 commit 720e0e6
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# top-most EditorConfig file
root = true

[**]
end_of_line = lf
insert_final_newline = true

[**.js, **.json]
trim_trailing_whitespace = true
indent_style = space
indent_size = 4
quote_type = double

[**.yml, **.css]
trim_trailing_whitespace = true
indent_style = space
indent_size = 4

[**.html]
trim_trailing_whitespace = true
indent_style = space
indent_size = 4

[**.md]
indent_style = space
indent_size = 4

# The indentation in package.json will always need to be 2 spaces
# https://github.com/npm/npm/issues/4718
[package.json, bower.json]
indent_style = space
indent_size = 2

[**.tf, **.tfvars]
trim_trailing_whitespace = true
indent_style = space
indent_size = 2
quote_type = double

0 comments on commit 720e0e6

Please sign in to comment.