Skip to content

Commit

Permalink
Also run prettier if eslint fails
Browse files Browse the repository at this point in the history
  • Loading branch information
nvie committed Jan 25, 2024
1 parent ec00732 commit 5119981
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"lint": "eslint --color --report-unused-disable-directives src/ test/ && prettier --list-different src/ test/ test-d/",
"lint:docs": "cog -c --check docs/*.md || (npm run docs; git diff; echo 'Error: docs not up-to-date, please re-run \"npm docs\" to update them.' && exit 1)",
"lint:package": "publint --strict && attw --pack",
"format": "eslint --color --report-unused-disable-directives --fix src/ test/ && prettier --write src/ test/ test-d/",
"format": "eslint --color --report-unused-disable-directives --fix src/ test/ ; prettier --write src/ test/ test-d/",
"test": "vitest run --coverage",
"test:completeness": "./bin/check.sh",
"test:typescript": "tsc --noEmit",
Expand Down

0 comments on commit 5119981

Please sign in to comment.