Skip to content

Commit ab05ccb

Browse files
committed
Simplify prettier command
1 parent cb8e9fd commit ab05ccb

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.prettierrc.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
trailingComma: all
2+
printWidth: 140
3+
tabWidth: 4
4+
arrowParens: always
5+
bracketSpacing: true

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"webpack": "rimraf ./build && webpack",
1515
"demo": "npm run build && node ./demo",
1616
"typedoc": "npm run build && typedoc --out docs/ src/ --module commonjs --target ES6 --disableOutputCheck",
17-
"style": "prettier -l --trailing-comma all --print-width 140 --arrow-parens always \"src/**/*.ts\"",
17+
"style": "prettier -l \"src/**/*.ts\"",
1818
"fix-types": "node types-absolute-fixer.js"
1919
},
2020
"files": [

0 commit comments

Comments
 (0)