@willbooster/eslint-config-js-react 11.5.3 → 11.5.4

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.
Files changed (2) hide show
  1. package/eslint.config.js +4 -2
  2. package/package.json +9 -9
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#flat-config-eslintconfigjsts
17
- eslintPluginReactHooks.configs['recommended-latest'],
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",
3
+ "version": "11.5.4",
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.3"
24
+ "@willbooster/eslint-config-js": "11.4.4"
25
25
  },
26
26
  "devDependencies": {
27
- "@eslint/js": "9.35.0",
27
+ "@eslint/js": "9.37.0",
28
28
  "@willbooster/prettier-config": "10.2.0",
29
- "eslint": "9.35.0",
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": "5.2.0",
35
+ "eslint-plugin-react-hooks": "6.1.1",
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.3.0",
41
- "lint-staged": "16.1.6",
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.4",
45
- "react": "19.1.1",
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": {