eslint-config-next 15.0.0-rc.0 → 15.0.0-rc.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/index.js CHANGED
@@ -30,12 +30,13 @@ sortedPaths.push(...keptPaths)
30
30
 
31
31
  const hookPropertyMap = new Map(
32
32
  [
33
- ['eslint-plugin-import', 'eslint-plugin-import'],
34
- ['eslint-plugin-react', 'eslint-plugin-react'],
35
- ['eslint-plugin-jsx-a11y', 'eslint-plugin-jsx-a11y'],
36
- ].map(([request, replacement]) => [
33
+ '@typescript-eslint/eslint-plugin',
34
+ 'eslint-plugin-import',
35
+ 'eslint-plugin-react',
36
+ 'eslint-plugin-jsx-a11y',
37
+ ].map((request) => [
37
38
  request,
38
- require.resolve(replacement, { paths: sortedPaths }),
39
+ require.resolve(request, { paths: sortedPaths }),
39
40
  ])
40
41
  )
41
42
 
@@ -96,10 +97,6 @@ module.exports = {
96
97
  parser: '@typescript-eslint/parser',
97
98
  parserOptions: {
98
99
  sourceType: 'module',
99
- ecmaFeatures: {
100
- jsx: true,
101
- },
102
- warnOnUnsupportedTypeScriptVersion: true,
103
100
  },
104
101
  },
105
102
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-next",
3
- "version": "15.0.0-rc.0",
3
+ "version": "15.0.0-rc.1",
4
4
  "description": "ESLint configuration used by Next.js.",
5
5
  "main": "index.js",
6
6
  "license": "MIT",
@@ -10,18 +10,19 @@
10
10
  },
11
11
  "homepage": "https://nextjs.org/docs/app/building-your-application/configuring/eslint#eslint-config",
12
12
  "dependencies": {
13
- "@next/eslint-plugin-next": "15.0.0-rc.0",
14
- "@rushstack/eslint-patch": "^1.3.3",
15
- "@typescript-eslint/parser": "^5.4.2 || ^6.0.0 || 7.0.0 - 7.2.0",
13
+ "@next/eslint-plugin-next": "15.0.0-rc.1",
14
+ "@rushstack/eslint-patch": "^1.10.3",
15
+ "@typescript-eslint/eslint-plugin": "^5.4.2 || ^6.0.0 || ^7.0.0 || ^8.0.0",
16
+ "@typescript-eslint/parser": "^5.4.2 || ^6.0.0 || ^7.0.0 || ^8.0.0",
16
17
  "eslint-import-resolver-node": "^0.3.6",
17
18
  "eslint-import-resolver-typescript": "^3.5.2",
18
- "eslint-plugin-import": "^2.28.1",
19
- "eslint-plugin-jsx-a11y": "^6.7.1",
20
- "eslint-plugin-react": "^7.33.2",
21
- "eslint-plugin-react-hooks": "^4.5.0 || 5.0.0-canary-7118f5dd7-20230705"
19
+ "eslint-plugin-import": "^2.31.0",
20
+ "eslint-plugin-jsx-a11y": "^6.10.0",
21
+ "eslint-plugin-react": "^7.35.0",
22
+ "eslint-plugin-react-hooks": "^5.0.0"
22
23
  },
23
24
  "peerDependencies": {
24
- "eslint": "^7.23.0 || ^8.0.0",
25
+ "eslint": "^7.23.0 || ^8.0.0 || ^9.0.0",
25
26
  "typescript": ">=3.3.1"
26
27
  },
27
28
  "peerDependenciesMeta": {
package/typescript.js ADDED
@@ -0,0 +1,3 @@
1
+ module.exports = {
2
+ extends: ['plugin:@typescript-eslint/recommended'],
3
+ }