Skip to content

Commit f207652

Browse files
committed
Use tsx/esm to load TS config files for ESLint
1 parent 92384ea commit f207652

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/toolkit/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@
100100
"build-only": "yarn clean && yarn run-build",
101101
"format": "prettier --write . --cache --cache-strategy content",
102102
"format:check": "prettier --check .",
103-
"lint": "NODE_OPTIONS=\"--import=tsx\" eslint -c eslint.config.mts . --cache --cache-strategy content",
104-
"lint:fix": "NODE_OPTIONS=\"--import=tsx\" eslint -c eslint.config.mts --fix .",
103+
"lint": "NODE_OPTIONS=--import=tsx/esm eslint -c eslint.config.mts . --cache --cache-strategy content",
104+
"lint:fix": "NODE_OPTIONS=--import=tsx/esm eslint -c eslint.config.mts --fix .",
105105
"test": "vitest --typecheck --run ",
106106
"test:watch": "vitest --watch",
107107
"type-tests": "yarn tsc -p tsconfig.test.json --noEmit",

0 commit comments

Comments
 (0)