@zetavg/eslint-config 0.0.8-pre.7 → 0.0.8-pre.8

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/configs/react.js +5 -1
  2. package/package.json +3 -4
package/configs/react.js CHANGED
@@ -15,7 +15,11 @@ export default defineConfig([
15
15
  },
16
16
  settings: {
17
17
  react: {
18
- version: 'detect',
18
+ // eslint-plugin-react uses the legacy `context.getFilename()` API for version auto-detection, which was removed in ESLint v10.
19
+ // To work around this, we can only specify the React version explicitly. We should update this when eslint-plugin-react releases a new version that supports the new API.
20
+ // See: https://github.com/vercel/next.js/issues/89764#issuecomment-3928272828
21
+ // version: 'detect',
22
+ version: '19',
19
23
  },
20
24
  },
21
25
  },
package/package.json CHANGED
@@ -61,15 +61,14 @@
61
61
  "eslint-plugin-simple-import-sort": "^12",
62
62
  "eslint-plugin-unicorn": "^59 || ^63",
63
63
  "globals": "^16 || ^17",
64
- "jsonc-eslint-parser": "^3.1.0",
65
64
  "typescript-eslint": "^8"
66
65
  },
67
66
  "devDependencies": {
68
- "@zetavg/prettier-config": "^0.0.8-pre.7",
69
- "@zetavg/tsconfig": "^0.0.8-pre.7",
67
+ "@zetavg/prettier-config": "^0.0.8-pre.8",
68
+ "@zetavg/tsconfig": "^0.0.8-pre.8",
70
69
  "eslint": "^9",
71
70
  "prettier": "^3",
72
71
  "typescript": "~5.8"
73
72
  },
74
- "version": "0.0.8-pre.7"
73
+ "version": "0.0.8-pre.8"
75
74
  }