Skip to content

Commit e0c019d

Browse files
jdmarshallRafaelGSS
authored andcommitted
chore: Move lint after unit tests.
It is disruptive to code-build-test cycles to run lint on code that may still be generating red tests. This is especially annoying when you're adding or removing arguments to functions and the linter is bitching at you about linefeeds when you don't even know if the code works yet. Should block PRs, not unit test runs.
1 parent 75dc17e commit e0c019d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "lib/index.js",
66
"types": "index.d.ts",
77
"scripts": {
8-
"test": "npm run lint:ci && c8 node --test --allow-natives-syntax --expose-gc",
8+
"test": "c8 node --test --allow-natives-syntax --expose-gc && npm run lint:ci",
99
"test:types": "tsd -f types/types.test-d.ts",
1010
"lint": "biome lint .",
1111
"lint:ci": "biome ci .",

0 commit comments

Comments
 (0)