Skip to content

Commit

Permalink
Simplify prettier command
Browse files Browse the repository at this point in the history
  • Loading branch information
dolanmiu committed Feb 10, 2018
1 parent cb8e9fd commit ab05ccb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .prettierrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
trailingComma: all
printWidth: 140
tabWidth: 4
arrowParens: always
bracketSpacing: true
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"webpack": "rimraf ./build && webpack",
"demo": "npm run build && node ./demo",
"typedoc": "npm run build && typedoc --out docs/ src/ --module commonjs --target ES6 --disableOutputCheck",
"style": "prettier -l --trailing-comma all --print-width 140 --arrow-parens always \"src/**/*.ts\"",
"style": "prettier -l \"src/**/*.ts\"",
"fix-types": "node types-absolute-fixer.js"
},
"files": [
Expand Down

0 comments on commit ab05ccb

Please sign in to comment.