@open-turo/eslint-config-react 18.0.0-pr-410.150.1.1 → 18.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.nvmrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
24.11.
|
|
1
|
+
24.11.1
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
# Breaking changes in v18
|
|
2
2
|
|
|
3
3
|
- `eslint-plugin-babel-compiler` superseded by `eslint-plugin-react-hooks` v7. Consumers will need to remove direct `react-compiler/react-compiler` references.
|
|
4
|
-
- `react-hooks/exhaustive-deps` upgraded from "warn" to "error" severity,
|
|
4
|
+
- `react-hooks/exhaustive-deps` upgraded from "warn" to "error" severity, and so will surface new errors for existing warn violations that are not suppressed by `// eslint-disable`.
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
"description": "Turo eslint configuration for react",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@open-turo/eslint-config-typescript": "18.1.
|
|
6
|
+
"@open-turo/eslint-config-typescript": "18.1.20",
|
|
7
7
|
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
8
8
|
"eslint-plugin-react": "7.37.5",
|
|
9
9
|
"eslint-plugin-react-hooks": "7.0.1",
|
|
10
10
|
"globals": "16.5.0",
|
|
11
|
-
"typescript-eslint": "8.48.
|
|
11
|
+
"typescript-eslint": "8.48.1"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"@types/react": "19.2.7",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"access": "public"
|
|
49
49
|
},
|
|
50
50
|
"repository": "https://github.com/open-turo/eslint-config-react",
|
|
51
|
-
"version": "18.0.0
|
|
51
|
+
"version": "18.0.0"
|
|
52
52
|
}
|
package/recommended.cjs
CHANGED
|
@@ -38,10 +38,8 @@ module.exports = {
|
|
|
38
38
|
},
|
|
39
39
|
],
|
|
40
40
|
/**
|
|
41
|
-
* We enforce this as error
|
|
42
|
-
* to be more thoroughly React Compiler-compliant.
|
|
41
|
+
* We enforce this as error to be more thoroughly React Compiler-compliant.
|
|
43
42
|
*
|
|
44
|
-
* {@link https://github.com/turo/web-schumacher-app/pull/10307 Schumacher PR}
|
|
45
43
|
* {@link https://react.dev/reference/eslint-plugin-react-hooks/lints/exhaustive-deps docs}
|
|
46
44
|
*/
|
|
47
45
|
"react-hooks/exhaustive-deps": "error",
|
|
Binary file
|