diff --git a/package.json b/package.json index 3d9ca8b9..b1bd37b1 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-import-x": "^3.1.0", - "eslint-plugin-perfectionist": "^3.0.0", + "eslint-plugin-perfectionist": "^3.1.0", "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-react-hooks": "^4.6.2", "eslint-plugin-solid": "^0.14.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 26270003..6974ea1b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -39,8 +39,8 @@ importers: specifier: ^3.1.0 version: 3.1.0(eslint@8.57.0)(typescript@5.5.4) eslint-plugin-perfectionist: - specifier: ^3.0.0 - version: 3.0.0(eslint@8.57.0)(typescript@5.5.4) + specifier: ^3.1.0 + version: 3.1.0(eslint@8.57.0)(typescript@5.5.4) eslint-plugin-prettier: specifier: ^5.2.1 version: 5.2.1(@types/eslint@8.56.11)(eslint-config-prettier@9.1.0(eslint@8.57.0))(eslint@8.57.0)(prettier@3.3.3) @@ -437,8 +437,8 @@ packages: peerDependencies: eslint: ^8.56.0 || ^9.0.0-0 - eslint-plugin-perfectionist@3.0.0: - resolution: {integrity: sha512-B+leJTo1YjxiNIm8Yv0rCHp4eWh9RaJHO6T1ifxd26wg8NCbEiWSdqZVeYLWPCI+zS1dlf89WpOkUzG7cE4vtQ==} + eslint-plugin-perfectionist@3.1.0: + resolution: {integrity: sha512-QNL1L0CMo8FoKM3VkNdR8HUq8Nrl0nGZFF9jzjU8PYvDtds2bvNOm9RwpQC4Gf3M27F6CBp5JsA3jBYT4TBiHA==} engines: {node: ^18.0.0 || >=20.0.0} peerDependencies: astro-eslint-parser: ^1.0.2 @@ -1513,10 +1513,10 @@ snapshots: - supports-color - typescript - eslint-plugin-perfectionist@3.0.0(eslint@8.57.0)(typescript@5.5.4): + eslint-plugin-perfectionist@3.1.0(eslint@8.57.0)(typescript@5.5.4): dependencies: - '@typescript-eslint/types': 7.18.0 - '@typescript-eslint/utils': 7.18.0(eslint@8.57.0)(typescript@5.5.4) + '@typescript-eslint/types': 8.0.0 + '@typescript-eslint/utils': 8.0.0(eslint@8.57.0)(typescript@5.5.4) eslint: 8.57.0 minimatch: 10.0.1 natural-compare-lite: 1.4.0 diff --git a/src/eslint/index.js b/src/eslint/index.js index 29770d18..750e7561 100644 --- a/src/eslint/index.js +++ b/src/eslint/index.js @@ -61,10 +61,7 @@ const ts = config({ }); const react = config({ - extends: [ - // ts-eslint v8: https://github.com/Rel1cx/eslint-react/issues/563 - reactPlugin.configs.recommended, - ], + extends: [reactPlugin.configs.recommended], files: allFiles, name: 'mw-config/react', plugins: {