@robot-inventor/eslint-config 12.0.6 → 13.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.
Files changed (2) hide show
  1. package/dist/index.js +3 -2
  2. package/package.json +11 -10
package/dist/index.js CHANGED
@@ -8,6 +8,7 @@ import eslintConfigPrettier from "eslint-config-prettier";
8
8
  import eslintReact from "@eslint-react/eslint-plugin";
9
9
  import jsdoc from "eslint-plugin-jsdoc";
10
10
  import reactCompiler from "eslint-plugin-react-compiler";
11
+ import reactDoctor from "eslint-plugin-react-doctor";
11
12
  import reactHooks from "eslint-plugin-react-hooks";
12
13
  import stylistic from "@stylistic/eslint-plugin";
13
14
  // eslint-disable-next-line import-x/max-dependencies
@@ -148,7 +149,7 @@ const eslintReactConfigBase = defineConfig(reactHooks.configs.flat["recommended-
148
149
  "@stylistic/jsx-curly-brace-presence": ["error", "never"],
149
150
  "react-compiler/react-compiler": "error"
150
151
  }
151
- });
152
+ }, reactDoctor.configs.recommended);
152
153
  const eslintReactConfig = defineConfig(...eslintConfig, ...eslintReactConfigBase);
153
154
  const eslintReactConfigNoJSDoc = defineConfig(...eslintConfigNoJSDoc, ...eslintReactConfigBase);
154
155
  const { configs: nextEslintConfigs, rules: nextEslintRules } = $nextPlugin;
@@ -165,7 +166,7 @@ const eslintNextConfigBase = defineConfig({
165
166
  "@next/next": nextPlugin
166
167
  },
167
168
  rules: nextRules
168
- });
169
+ }, reactDoctor.configs.next);
169
170
  const eslintNextConfig = defineConfig(...eslintReactConfig, ...eslintNextConfigBase);
170
171
  const eslintNextConfigNoJSDoc = defineConfig(...eslintReactConfigNoJSDoc, ...eslintNextConfigBase);
171
172
  export { eslintConfigNoJSDoc, eslintConfig, eslintReactConfig, eslintReactConfigNoJSDoc, eslintNextConfig, eslintNextConfigNoJSDoc };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robot-inventor/eslint-config",
3
- "version": "12.0.6",
3
+ "version": "13.0.0",
4
4
  "description": "My ESLint config preset",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -33,21 +33,22 @@
33
33
  "provenance": true
34
34
  },
35
35
  "dependencies": {
36
- "@eslint-react/eslint-plugin": "^5.9.0",
37
- "@eslint-react/kit": "^5.9.0",
36
+ "@eslint-react/eslint-plugin": "^5.11.2",
37
+ "@eslint-react/kit": "^5.11.2",
38
38
  "@eslint/js": "^10.0.1",
39
- "@next/eslint-plugin-next": "^16.2.9",
39
+ "@next/eslint-plugin-next": "^16.2.10",
40
40
  "@stylistic/eslint-plugin": "^5.10.0",
41
- "@typescript-eslint/types": "^8.61.1",
42
- "eslint": "^10.5.0",
41
+ "@typescript-eslint/types": "^8.62.1",
42
+ "eslint": "^10.6.0",
43
43
  "eslint-config-prettier": "^10.1.8",
44
44
  "eslint-import-resolver-node": "^0.4.0",
45
45
  "eslint-import-resolver-typescript": "^4.4.5",
46
- "eslint-plugin-import-x": "^4.16.2",
47
- "eslint-plugin-jsdoc": "^63.0.5",
46
+ "eslint-plugin-import-x": "^4.17.1",
47
+ "eslint-plugin-jsdoc": "^63.0.11",
48
48
  "eslint-plugin-react-compiler": "^19.0.0-beta-ebf51a3-20250411",
49
+ "eslint-plugin-react-doctor": "^0.7.1",
49
50
  "eslint-plugin-react-hooks": "^7.1.1",
50
- "typescript-eslint": "^8.61.1"
51
+ "typescript-eslint": "^8.62.1"
51
52
  },
52
53
  "devDependencies": {
53
54
  "@changesets/changelog-github": "^0.7.0",
@@ -55,7 +56,7 @@
55
56
  "@eslint-types/jsdoc": "^48.2.2",
56
57
  "@eslint-types/typescript-eslint": "^7.5.0",
57
58
  "@robot-inventor/tsconfig-base": "^7.1.0",
58
- "prettier": "^3.8.4",
59
+ "prettier": "^3.9.4",
59
60
  "typescript": "^6.0.3"
60
61
  },
61
62
  "overrides": {