Skip to content

Commit 9ad4290

Browse files
committed
Make lint:fix a shareable global script
1 parent 78531b1 commit 9ad4290

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"format:fix": "cd $INIT_CWD && run prettier --write . --config prettier.config.mjs --ignore-path ${PROJECT_CWD}/.gitignore --cache --cache-strategy content",
5656
"format:check": "cd $INIT_CWD && run prettier --check . --config prettier.config.mjs --ignore-path ${PROJECT_CWD}/.gitignore",
5757
"lint:check": "cd $INIT_CWD && run eslint . --config eslint.config.mjs --cache --cache-strategy content",
58-
"lint:fix": "eslint --fix . --config eslint.config.mjs",
58+
"lint:fix": "cd $INIT_CWD && run eslint --fix . --config eslint.config.mjs",
5959
"build": "yarn build:packages",
6060
"test": "yarn test:packages",
6161
"install": "yarn build:configs",

packages/toolkit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
"format": "run -T format:fix",
9898
"format:check": "run -T format:check",
9999
"lint": "run -T lint:check",
100-
"lint:fix": "eslint --fix . --config eslint.config.mjs",
100+
"lint:fix": "run -T lint:fix",
101101
"test": "vitest --typecheck --run ",
102102
"test:watch": "vitest --watch",
103103
"type-tests": "yarn tsc -p tsconfig.test.json --noEmit",

0 commit comments

Comments
 (0)