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 25
25
"format" : " prettier --write . && eslint . --fix" ,
26
26
"lint" : " npm-run-all \" lint:*\" " ,
27
27
"lint:eslint-docs" : " npm run update:eslint-docs && git diff --exit-code" ,
28
- "lint:js" : " eslint --report-unused-disable-directives ." ,
28
+ "lint:js" : " eslint --report-unused-disable-directives . && prettier --check . " ,
29
29
"prepare" : " husky" ,
30
30
"test" : " jest --coverage" ,
31
31
"update:eslint-docs" : " eslint-doc-generator && npm run format"
32
32
},
33
33
"lint-staged" : {
34
- "{README.md,CONTRIBUTING.md}" : [
35
- " doctoc --maxlevel 3 --notitle"
36
- ],
37
- "*.js" : [
38
- " prettier --write" ,
39
- " eslint --report-unused-disable-directives --fix"
40
- ],
41
- "*.+(json|md)" : [
42
- " prettier --write"
43
- ]
34
+ "*" : " prettier --write --ignore-unknown" ,
35
+ "{README.md,CONTRIBUTING.md}" : " doctoc --maxlevel 3 --notitle" ,
36
+ "*.js" : " eslint --report-unused-disable-directives --fix"
44
37
},
45
38
"prettier" : {
46
39
"proseWrap" : " always" ,
You can’t perform that action at this time.
0 commit comments