@jimmy.codes/eslint-config 6.13.0 → 6.13.1

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
@@ -11883,12 +11883,14 @@ type NoRestrictedImports = ((string | {
11883
11883
  message?: string;
11884
11884
  importNames?: string[];
11885
11885
  allowImportNames?: string[];
11886
+ allowTypeImports?: boolean;
11886
11887
  })[] | [] | [{
11887
11888
  paths?: (string | {
11888
11889
  name: string;
11889
11890
  message?: string;
11890
11891
  importNames?: string[];
11891
11892
  allowImportNames?: string[];
11893
+ allowTypeImports?: boolean;
11892
11894
  })[];
11893
11895
  patterns?: (string[] | ({
11894
11896
  [k: string]: unknown | undefined;
package/dist/index.js CHANGED
@@ -484,7 +484,7 @@ const defineConfig = async ({ astro = false, autoDetect = true, gitignore = fals
484
484
  ];
485
485
  const featureConfigs = await Promise.all([
486
486
  isTypescriptEnabled && unwrap(import("./typescript-D8AT5dEv.js")),
487
- isReactEnabled && unwrap(import("./react-CY7FziwW.js")),
487
+ isReactEnabled && unwrap(import("./react-By-ZN_z5.js")),
488
488
  isTanstackQueryEnabled && unwrap(import("./tanstack-query-DqqVfxJs.js")),
489
489
  isAstroEnabled && unwrap(import("./astro-Cc3Rxusf.js")),
490
490
  isJestEnabled && unwrap(import("./jest-G-dRTY_j.js")),
@@ -29,6 +29,7 @@ const reactRules = async () => {
29
29
  ...jsxA11yPlugin.flatConfigs.recommended.rules,
30
30
  ...upwarn(reactPluginRules),
31
31
  "@eslint-react/dom/no-string-style-prop": "error",
32
+ "@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "off",
32
33
  "@eslint-react/jsx-key-before-spread": "error",
33
34
  "@eslint-react/jsx-shorthand-boolean": "error",
34
35
  "@eslint-react/jsx-shorthand-fragment": "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jimmy.codes/eslint-config",
3
- "version": "6.13.0",
3
+ "version": "6.13.1",
4
4
  "description": "A simple, modern ESLint config that covers most use cases.",
5
5
  "keywords": [
6
6
  "eslint",
@@ -41,7 +41,7 @@
41
41
  "dependencies": {
42
42
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
43
43
  "@eslint-react/eslint-plugin": "^2.0.6",
44
- "@eslint/js": "^9.36.0",
44
+ "@eslint/js": "^9.37.0",
45
45
  "@next/eslint-plugin-next": "^15.5.4",
46
46
  "@stylistic/eslint-plugin": "^5.4.0",
47
47
  "@tanstack/eslint-plugin-query": "^5.91.0",
@@ -57,7 +57,7 @@
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.7.1",
60
+ "eslint-plugin-jsdoc": "^60.8.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",