File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change 22
22
"bugs" : " https://github.com/eslint-community/eslint-plugin-promise/issues" ,
23
23
"scripts" : {
24
24
"format" : " prettier --write ." ,
25
- "lint" : " eslint --report-unused-disable-directives ." ,
25
+ "lint" : " eslint --report-unused-disable-directives . && prettier -c . " ,
26
26
"prepare" : " husky install" ,
27
27
"test" : " jest --coverage"
28
28
},
50
50
},
51
51
"license" : " ISC" ,
52
52
"lint-staged" : {
53
- "{README.md,CONTRIBUTING.md}" : [
54
- " doctoc --maxlevel 3 --notitle"
55
- ],
56
- "*.js" : [
57
- " prettier --write" ,
58
- " eslint --report-unused-disable-directives --fix"
59
- ],
60
- "*.+(json|md)" : [
61
- " prettier --write"
62
- ]
53
+ "*" : " prettier --write --ignore-unknown" ,
54
+ "{README.md,CONTRIBUTING.md}" : " doctoc --maxlevel 3 --notitle" ,
55
+ "*.js" : " eslint --report-unused-disable-directives --fix"
63
56
},
64
57
"prettier" : {
65
58
"semi" : false ,
You can’t perform that action at this time.
0 commit comments