File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 2222 "lint" : " eslint src" ,
2323 "lint:fix" : " eslint src --fix" ,
2424 "lint:typings" : " tslint typings/index.d.ts" ,
25- "prettier" : " prettier --write --single-quote --print-width 120 --trailing-comma all --end-of-line lf --arrow-parens avoid src/**/*.js typings/**/*.ts" ,
25+ "prettier" : " prettier --write src/**/*.js typings/**/*.ts" ,
2626 "build:browser" : " webpack" ,
2727 "prepublishOnly" : " npm run test && cross-env NODE_ENV=production npm run build:browser"
2828 },
122122 },
123123 "lint-staged" : {
124124 "*.js" : " eslint --fix" ,
125- "*.ts" : " prettier --write --single-quote --print-width 120 --trailing-comma all --end-of-line lf --arrow-parens avoid "
125+ "*.ts" : " prettier --write"
126126 },
127127 "commitlint" : {
128128 "extends" : [
152152 ]
153153 ]
154154 }
155+ },
156+ "prettier" :{
157+ "singleQuote" : true ,
158+ "printWidth" : 120 ,
159+ "trailingComma" : " all" ,
160+ "endOfLine" : " lf" ,
161+ "arrowParens" : " avoid"
155162 }
156163}
You can’t perform that action at this time.
0 commit comments