Skip to content

Commit

Permalink
chore: add editorconfig file
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandopasik committed May 29, 2019
1 parent e77a35d commit 93e0cfe
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# http://editorconfig.org

root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*{.html,.php}]
indent_style = tab

[*.md]
trim_trailing_whitespace = false

[*.yml]
indent_size = 2
indent_style = space

[{package.json}]
# The indent size used in the `package.json` file cannot be changed
# https://github.com/npm/npm/pull/3180#issuecomment-16336516
indent_size = 2
indent_style = space

0 comments on commit 93e0cfe

Please sign in to comment.