Skip to content

Commit 8c083bb

Browse files
committed
Make lint:check a shareable global script
1 parent 01322f4 commit 8c083bb

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
@@ -54,7 +54,7 @@
5454
"scripts": {
5555
"format": "prettier --write . --config prettier.config.mjs --cache --cache-strategy content",
5656
"format:check": "cd $INIT_CWD && run prettier --check . --config prettier.config.mjs --ignore-path ${PROJECT_CWD}/.gitignore",
57-
"lint": "eslint . --config eslint.config.mjs --cache --cache-strategy content",
57+
"lint:check": "cd $INIT_CWD && run eslint . --config eslint.config.mjs --cache --cache-strategy content",
5858
"lint:fix": "eslint --fix . --config eslint.config.mjs",
5959
"build": "yarn build:packages",
6060
"test": "yarn test:packages",

packages/toolkit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
"build-only": "yarn clean && yarn run-build",
9797
"format": "prettier --write . '!dist' --cache --cache-strategy content",
9898
"format:check": "run -T format:check",
99-
"lint": "eslint . --config eslint.config.mjs --cache --cache-strategy content",
99+
"lint": "run -T lint:check",
100100
"lint:fix": "eslint --fix . --config eslint.config.mjs",
101101
"test": "vitest --typecheck --run ",
102102
"test:watch": "vitest --watch",

0 commit comments

Comments
 (0)