Skip to content

Commit a7a41eb

Browse files
committed
Fix lint commands
1 parent 208c230 commit a7a41eb

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@
5454
"scripts": {
5555
"build": "yarn build:packages",
5656
"test": "yarn test:packages",
57+
"lint": "eslint --flag unstable_ts_config -c eslint.config.mts",
58+
"lint-fix": "eslint --flag unstable_ts_config -c eslint.config.mts --fix",
5759
"install": "yarn build-configs",
5860
"build-configs": "yarn workspaces foreach -Atip --include '@reduxjs/*config' run build",
5961
"build:examples": "yarn workspaces foreach -A --include '@reduxjs/*' --include '@examples-query-react/*' --include '@examples-action-listener/*' -vtp run build",

packages/rtk-codemods/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"name": "@reduxjs/rtk-codemods",
33
"version": "0.1.2",
44
"scripts": {
5-
"lint": "eslint .",
5+
"lint": "eslint --flag unstable_ts_config -c eslint.config.mts",
6+
"lint-fix": "eslint --flag unstable_ts_config -c eslint.config.mts --fix",
67
"test": "vitest --run",
78
"test:watch": "vitest --watch",
89
"test:coverage": "vitest --coverage"

packages/toolkit/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@
100100
"build-only": "yarn clean && yarn run-build",
101101
"format": "prettier --write \"(src|examples)/**/*.{ts,tsx}\" \"**/*.md\"",
102102
"format:check": "prettier --list-different \"(src|examples)/**/*.{ts,tsx}\" \"docs/*/**.md\"",
103-
"lint": "eslint src examples",
103+
"lint": "eslint --flag unstable_ts_config -c eslint.config.mts",
104+
"lint-fix": "eslint --flag unstable_ts_config -c eslint.config.mts --fix",
104105
"test": "vitest --typecheck --run ",
105106
"test:watch": "vitest --watch",
106107
"type-tests": "yarn tsc -p tsconfig.test.json --noEmit",

0 commit comments

Comments
 (0)