Skip to content

Commit

Permalink
feat(prettier): adds prettier closes issue #41
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpodwysocki committed Sep 1, 2017
1 parent 1eda6bd commit 6464e7a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
# http://editorconfig.org
root = true

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

[*.md]
max_line_length = 0
trim_trailing_whitespace = false

[COMMIT_EDITMSG]
max_line_length = 0
5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"printWidth": 100,
"parser": "typescript",
"singleQuote": true
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
"merge2": "~1.1.0",
"mkdirp": "~0.5.1",
"npm-run-all": "~4.0.2",
"prettier": "^1.6.1",
"pump": "~1.0.2",
"rimraf": "~2.6.1",
"shx": "~0.2.2",
Expand Down

0 comments on commit 6464e7a

Please sign in to comment.