Skip to content

Commit 98956e0

Browse files
committed
prettier rules
1 parent 55c858f commit 98956e0

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,15 @@
3333
"run-sequence": "^1.1.5"
3434
},
3535
"lint-staged": {
36-
"*.{js,json,md,css}": ["prettier --print-width=200 --write", "git add"]
36+
"*.{js,json,md,css}": ["prettier --write", "git add"]
37+
},
38+
"prettier": {
39+
"bracketSpacing": false,
40+
"printWidth": 80,
41+
"proseWrap": false,
42+
"singleQuote": true,
43+
"tabWidth": 2,
44+
"trailingComma": "all"
3745
},
3846
"scripts": {
3947
"fix": "prettier --ignore-path .gitignore --write '**/*.{js,json,md,css}'",

0 commit comments

Comments
 (0)