@willbooster/eslint-config-js-react 11.5.3 → 11.5.5
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/eslint.config.js +4 -2
- package/package.json +10 -10
package/eslint.config.js
CHANGED
|
@@ -5,6 +5,8 @@ import eslintPluginReact from 'eslint-plugin-react';
|
|
|
5
5
|
import eslintPluginReactCompiler from 'eslint-plugin-react-compiler';
|
|
6
6
|
import eslintPluginReactHooks from 'eslint-plugin-react-hooks';
|
|
7
7
|
|
|
8
|
+
const reactHooksFlatRecommended = eslintPluginReactHooks.configs.flat.recommended;
|
|
9
|
+
|
|
8
10
|
export default [
|
|
9
11
|
...jsConfig,
|
|
10
12
|
{
|
|
@@ -13,8 +15,8 @@ export default [
|
|
|
13
15
|
// cf. https://github.com/jsx-eslint/eslint-plugin-react#flat-configs
|
|
14
16
|
eslintPluginReact.configs.flat.recommended,
|
|
15
17
|
eslintPluginReact.configs.flat['jsx-runtime'],
|
|
16
|
-
// cf. https://github.com/facebook/react/tree/main/packages/eslint-plugin-react-hooks#
|
|
17
|
-
|
|
18
|
+
// cf. https://github.com/facebook/react/tree/main/packages/eslint-plugin-react-hooks#readme
|
|
19
|
+
reactHooksFlatRecommended,
|
|
18
20
|
// cf. https://www.npmjs.com/package/eslint-plugin-react-compiler
|
|
19
21
|
eslintPluginReactCompiler.configs.recommended,
|
|
20
22
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@willbooster/eslint-config-js-react",
|
|
3
|
-
"version": "11.5.
|
|
3
|
+
"version": "11.5.5",
|
|
4
4
|
"description": "A ESLint flat config for JavaScript projects using React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "WillBooster Inc.",
|
|
@@ -21,28 +21,28 @@
|
|
|
21
21
|
},
|
|
22
22
|
"prettier": "@willbooster/prettier-config",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@willbooster/eslint-config-js": "11.4.
|
|
24
|
+
"@willbooster/eslint-config-js": "11.4.4"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@eslint/js": "9.
|
|
27
|
+
"@eslint/js": "9.37.0",
|
|
28
28
|
"@willbooster/prettier-config": "10.2.0",
|
|
29
|
-
"eslint": "9.
|
|
29
|
+
"eslint": "9.37.0",
|
|
30
30
|
"eslint-config-flat-gitignore": "2.1.0",
|
|
31
31
|
"eslint-config-prettier": "10.1.8",
|
|
32
32
|
"eslint-plugin-import-x": "4.16.1",
|
|
33
33
|
"eslint-plugin-react": "7.37.5",
|
|
34
34
|
"eslint-plugin-react-compiler": "19.1.0-rc.2",
|
|
35
|
-
"eslint-plugin-react-hooks": "
|
|
35
|
+
"eslint-plugin-react-hooks": "7.0.0",
|
|
36
36
|
"eslint-plugin-sort-class-members": "1.21.0",
|
|
37
37
|
"eslint-plugin-sort-destructure-keys": "2.0.0",
|
|
38
38
|
"eslint-plugin-unicorn": "61.0.2",
|
|
39
39
|
"eslint-plugin-unused-imports": "4.2.0",
|
|
40
|
-
"globals": "16.
|
|
41
|
-
"lint-staged": "16.
|
|
40
|
+
"globals": "16.4.0",
|
|
41
|
+
"lint-staged": "16.2.3",
|
|
42
42
|
"micromatch": "4.0.8",
|
|
43
43
|
"prettier": "3.6.2",
|
|
44
|
-
"prettier-plugin-java": "2.7.
|
|
45
|
-
"react": "19.
|
|
44
|
+
"prettier-plugin-java": "2.7.5",
|
|
45
|
+
"react": "19.2.0",
|
|
46
46
|
"sort-package-json": "3.4.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"eslint-plugin-import-x": ">=4",
|
|
54
54
|
"eslint-plugin-react": ">=7",
|
|
55
55
|
"eslint-plugin-react-compiler": ">=19.1.0-rc.2",
|
|
56
|
-
"eslint-plugin-react-hooks": ">=
|
|
56
|
+
"eslint-plugin-react-hooks": ">=6",
|
|
57
57
|
"eslint-plugin-sort-class-members": ">=1.21",
|
|
58
58
|
"eslint-plugin-sort-destructure-keys": ">=2",
|
|
59
59
|
"eslint-plugin-unicorn": ">=57",
|