Skip to content

Commit 399d2ef

Browse files
Update Nx config
1 parent 3134de6 commit 399d2ef

File tree

4 files changed

+50
-230
lines changed

4 files changed

+50
-230
lines changed

.lintstagedrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"*": [""]
2+
"*": ["prettier --write"]
33
}

nx.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"parallel": 5,
77
"namedInputs": {
88
"sharedGlobals": [
9-
"{workspaceRoot}/.eslintrc.cjs",
109
"{workspaceRoot}/.nvmrc",
10+
"{workspaceRoot}/eslint.config.js",
1111
"{workspaceRoot}/package.json",
1212
"{workspaceRoot}/scripts/getTsupConfig.js",
1313
"{workspaceRoot}/tsconfig.json"
@@ -21,8 +21,7 @@
2121
"default",
2222
"{projectRoot}/build",
2323
"{projectRoot}/dist",
24-
"!{projectRoot}/.eslintrc.cjs",
25-
"!{projectRoot}/tsconfig.eslint.json"
24+
"!{projectRoot}/eslint.config.js"
2625
]
2726
},
2827
"targetDefaults": {

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,13 @@
4949
"@tanstack/config": "^0.8.1",
5050
"@testing-library/jest-dom": "^6.4.5",
5151
"@testing-library/react": "^15.0.7",
52-
"@types/eslint": "^8.56.10",
5352
"@types/node": "^20.12.12",
5453
"@types/react": "npm:types-react@rc",
5554
"@types/react-dom": "npm:types-react-dom@rc",
5655
"@vitest/coverage-istanbul": "^1.6.0",
5756
"cpy-cli": "^5.0.0",
5857
"esbuild-plugin-file-path-extensions": "^2.1.0",
5958
"eslint": "^8.57.0",
60-
"eslint-plugin-react": "^7.34.3",
6159
"eslint-plugin-react-hooks": "^4.6.2",
6260
"husky": "^9.0.11",
6361
"jsdom": "^24.0.0",

0 commit comments

Comments
 (0)