File tree Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change 2222 " Aadit M Shah <aaditmshah@aadit.codes> (https://aadit.codes/)"
2323 ],
2424 "scripts" : {
25- "format" : " prettier --write . && npm run lint -- --fix" ,
25+ "format" : " prettier --write . && eslint . --fix" ,
2626 "lint" : " npm-run-all \" lint:*\" " ,
2727 "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 . " ,
2929 "prepare" : " husky install" ,
3030 "test" : " jest --coverage" ,
3131 "update:eslint-docs" : " eslint-doc-generator && npm run format"
3232 },
3333 "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"
4437 },
4538 "prettier" : {
4639 "proseWrap" : " always" ,
You can’t perform that action at this time.
0 commit comments