@jimmy.codes/eslint-config 6.11.0 → 6.12.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/dist/index.d.ts CHANGED
@@ -429,7 +429,7 @@ interface RuleOptions {
429
429
  */
430
430
  '@eslint-react/no-unused-class-component-members'?: Linter.RuleEntry<[]>;
431
431
  /**
432
- * Warns about unused component prop declarations.
432
+ * Warns component props that are defined but never used.
433
433
  * @see https://eslint-react.xyz/docs/rules/no-unused-props
434
434
  */
435
435
  '@eslint-react/no-unused-props'?: Linter.RuleEntry<[]>;
@@ -3206,6 +3206,11 @@ interface RuleOptions {
3206
3206
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template.md#repos-sticky-header
3207
3207
  */
3208
3208
  'jsdoc/require-template'?: Linter.RuleEntry<JsdocRequireTemplate>;
3209
+ /**
3210
+ * Requires a description for `@template` tags
3211
+ * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template-description.md#repos-sticky-header
3212
+ */
3213
+ 'jsdoc/require-template-description'?: Linter.RuleEntry<[]>;
3209
3214
  /**
3210
3215
  * Requires that throw statements are documented with `@throws` tags.
3211
3216
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws.md#repos-sticky-header
@@ -10091,6 +10096,7 @@ type JsdocCheckPropertyNames = [] | [{
10091
10096
  type JsdocCheckTagNames = [] | [{
10092
10097
  definedTags?: string[];
10093
10098
  enableFixer?: boolean;
10099
+ inlineTags?: string[];
10094
10100
  jsxTags?: boolean;
10095
10101
  typed?: boolean;
10096
10102
  }];
@@ -10249,6 +10255,7 @@ type JsdocNoTypes = [] | [{
10249
10255
  }];
10250
10256
  // ----- jsdoc/no-undefined-types -----
10251
10257
  type JsdocNoUndefinedTypes = [] | [{
10258
+ checkUsedTypedefs?: boolean;
10252
10259
  definedTypes?: string[];
10253
10260
  disableReporting?: boolean;
10254
10261
  markVariablesAsUsed?: boolean;
package/dist/index.js CHANGED
@@ -199,6 +199,7 @@ const jsdocRules = () => {
199
199
  "jsdoc/require-next-description": "error",
200
200
  "jsdoc/require-param": "off",
201
201
  "jsdoc/require-returns": "off",
202
+ "jsdoc/require-template-description": "error",
202
203
  "jsdoc/require-throws-description": "error",
203
204
  "jsdoc/require-yields-description": "error",
204
205
  "jsdoc/tag-lines": [
@@ -483,11 +484,11 @@ const defineConfig = async ({ astro = false, autoDetect = true, gitignore = fals
483
484
  ];
484
485
  const featureConfigs = await Promise.all([
485
486
  isTypescriptEnabled && unwrap(import("./typescript-D8AT5dEv.js")),
486
- isReactEnabled && unwrap(import("./react-ChUgu27j.js")),
487
+ isReactEnabled && unwrap(import("./react-BjygB_xT.js")),
487
488
  isTanstackQueryEnabled && unwrap(import("./tanstack-query-DqqVfxJs.js")),
488
489
  isAstroEnabled && unwrap(import("./astro-Cc3Rxusf.js")),
489
490
  isJestEnabled && unwrap(import("./jest-G-dRTY_j.js")),
490
- isVitestEnabled && unwrap(import("./vitest-Bl4MomP6.js")),
491
+ isVitestEnabled && unwrap(import("./vitest-BP2VqxKz.js")),
491
492
  isTestingLibraryEnabled && unwrap(import("./testing-library-lJsmjyFo.js")),
492
493
  isPlaywrightEnabled && unwrap(import("./playwright-Bbcb5Jsi.js")),
493
494
  isStorybookEnabled && unwrap(import("./storybook-BO4plVPp.js")),
@@ -60,7 +60,7 @@ async function reactConfig() {
60
60
  interopDefault(import("@eslint-react/eslint-plugin")),
61
61
  interopDefault(import("eslint-plugin-jsx-a11y")),
62
62
  import("eslint-plugin-react-hooks"),
63
- interopDefault(import("eslint-plugin-react-refresh")),
63
+ import("eslint-plugin-react-refresh"),
64
64
  import("eslint-plugin-react-compiler")
65
65
  ]);
66
66
  const reactPlugins = reactPlugin.configs.all.plugins;
@@ -32,6 +32,7 @@ const vitestRules = async () => {
32
32
  "vitest/prefer-called-times": "off",
33
33
  "vitest/prefer-called-with": "error",
34
34
  "vitest/prefer-comparison-matcher": "error",
35
+ "vitest/prefer-describe-function-title": "off",
35
36
  "vitest/prefer-each": "error",
36
37
  "vitest/prefer-equality-matcher": "error",
37
38
  "vitest/prefer-expect-assertions": "off",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jimmy.codes/eslint-config",
3
- "version": "6.11.0",
3
+ "version": "6.12.0",
4
4
  "description": "A simple, modern ESLint config that covers most use cases.",
5
5
  "keywords": [
6
6
  "eslint",
@@ -40,15 +40,15 @@
40
40
  ],
41
41
  "dependencies": {
42
42
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
43
- "@eslint-react/eslint-plugin": "2.0.0-next.191",
43
+ "@eslint-react/eslint-plugin": "^2.0.2",
44
44
  "@eslint/js": "^9.36.0",
45
45
  "@next/eslint-plugin-next": "^15.5.4",
46
46
  "@stylistic/eslint-plugin": "^5.4.0",
47
- "@tanstack/eslint-plugin-query": "^5.90.1",
47
+ "@tanstack/eslint-plugin-query": "^5.91.0",
48
48
  "@types/eslint": "9.6.1",
49
- "@typescript-eslint/parser": "^8.44.1",
50
- "@typescript-eslint/utils": "^8.44.1",
51
- "@vitest/eslint-plugin": "^1.3.12",
49
+ "@typescript-eslint/parser": "^8.45.0",
50
+ "@typescript-eslint/utils": "^8.45.0",
51
+ "@vitest/eslint-plugin": "^1.3.13",
52
52
  "astro-eslint-parser": "^1.2.2",
53
53
  "eslint-config-flat-gitignore": "^2.1.0",
54
54
  "eslint-config-prettier": "^10.1.8",
@@ -57,21 +57,21 @@
57
57
  "eslint-plugin-import-x": "^4.16.1",
58
58
  "eslint-plugin-jest": "^29.0.1",
59
59
  "eslint-plugin-jest-dom": "^5.5.0",
60
- "eslint-plugin-jsdoc": "^60.2.0",
60
+ "eslint-plugin-jsdoc": "^60.5.0",
61
61
  "eslint-plugin-jsx-a11y": "^6.10.2",
62
62
  "eslint-plugin-n": "^17.23.1",
63
63
  "eslint-plugin-perfectionist": "^4.15.0",
64
64
  "eslint-plugin-playwright": "^2.2.2",
65
65
  "eslint-plugin-react-compiler": "19.1.0-rc.2",
66
66
  "eslint-plugin-react-hooks": "^5.2.0",
67
- "eslint-plugin-react-refresh": "0.4.21",
67
+ "eslint-plugin-react-refresh": "0.4.22",
68
68
  "eslint-plugin-regexp": "^2.10.0",
69
69
  "eslint-plugin-storybook": "0.12.0",
70
- "eslint-plugin-testing-library": "^7.9.1",
70
+ "eslint-plugin-testing-library": "^7.11.0",
71
71
  "eslint-plugin-unicorn": "^61.0.2",
72
72
  "globals": "^16.4.0",
73
73
  "local-pkg": "^1.1.2",
74
- "typescript-eslint": "^8.44.1"
74
+ "typescript-eslint": "^8.45.0"
75
75
  },
76
76
  "peerDependencies": {
77
77
  "eslint": "^9.10.0"