Skip to content

Commit 5119981

Browse files
committed
Also run prettier if eslint fails
1 parent ec00732 commit 5119981

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"lint": "eslint --color --report-unused-disable-directives src/ test/ && prettier --list-different src/ test/ test-d/",
4242
"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)",
4343
"lint:package": "publint --strict && attw --pack",
44-
"format": "eslint --color --report-unused-disable-directives --fix src/ test/ && prettier --write src/ test/ test-d/",
44+
"format": "eslint --color --report-unused-disable-directives --fix src/ test/ ; prettier --write src/ test/ test-d/",
4545
"test": "vitest run --coverage",
4646
"test:completeness": "./bin/check.sh",
4747
"test:typescript": "tsc --noEmit",

0 commit comments

Comments
 (0)