mirror of
https://github.com/animate-css/animate.css.git
synced 2024-11-13 07:41:08 +01:00
prettier rules
This commit is contained in:
parent
55c858f7d8
commit
98956e08a5
1 changed files with 9 additions and 1 deletions
10
package.json
10
package.json
|
@ -33,7 +33,15 @@
|
|||
"run-sequence": "^1.1.5"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{js,json,md,css}": ["prettier --print-width=200 --write", "git add"]
|
||||
"*.{js,json,md,css}": ["prettier --write", "git add"]
|
||||
},
|
||||
"prettier": {
|
||||
"bracketSpacing": false,
|
||||
"printWidth": 80,
|
||||
"proseWrap": false,
|
||||
"singleQuote": true,
|
||||
"tabWidth": 2,
|
||||
"trailingComma": "all"
|
||||
},
|
||||
"scripts": {
|
||||
"fix": "prettier --ignore-path .gitignore --write '**/*.{js,json,md,css}'",
|
||||
|
|
Loading…
Reference in a new issue