Skip to content

Commit

Permalink
chore: add editor config
Browse files Browse the repository at this point in the history
  • Loading branch information
d4rkr00t committed Feb 24, 2020
1 parent 895166a commit f4ddb74
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# http://editorconfig.org
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
trim_trailing_whitespace = true
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"lint-staged": {
"*.{js,ts}": [
"prettier --no-editorconfig --write",
"prettier --write",
"git add"
]
},
Expand Down

0 comments on commit f4ddb74

Please sign in to comment.