diff --git a/package.json b/package.json index 0e6d69b..edf50f5 100644 --- a/package.json +++ b/package.json @@ -64,6 +64,7 @@ "@antfu/eslint-define-config": "1.23.0-2", "@antfu/install-pkg": "0.4.1", "@clack/prompts": "0.7.0", + "@eslint-community/eslint-plugin-eslint-comments": "4.4.0", "@eslint-types/typescript-eslint": "7.5.0", "@eslint-types/unicorn": "52.0.0", "@eslint/markdown": "6.1.0", @@ -76,7 +77,6 @@ "eslint-flat-config-utils": "0.4.0", "eslint-merge-processors": "0.1.0", "eslint-plugin-antfu": "2.6.0", - "eslint-plugin-eslint-comments": "3.2.0", "eslint-plugin-format": "0.1.2", "eslint-plugin-html": "8.1.1", "eslint-plugin-import-x": "4.2.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 37aab9f..fdc046b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -20,6 +20,9 @@ importers: '@clack/prompts': specifier: 0.7.0 version: 0.7.0 + '@eslint-community/eslint-plugin-eslint-comments': + specifier: 4.4.0 + version: 4.4.0(eslint@9.10.0(jiti@1.21.6)) '@eslint-types/typescript-eslint': specifier: 7.5.0 version: 7.5.0 @@ -68,9 +71,6 @@ importers: eslint-plugin-cypress: specifier: '>=3.0.0' version: 3.3.0(eslint@9.10.0(jiti@1.21.6)) - eslint-plugin-eslint-comments: - specifier: 3.2.0 - version: 3.2.0(eslint@9.10.0(jiti@1.21.6)) eslint-plugin-format: specifier: 0.1.2 version: 0.1.2(eslint@9.10.0(jiti@1.21.6)) @@ -594,6 +594,12 @@ packages: cpu: [x64] os: [win32] + '@eslint-community/eslint-plugin-eslint-comments@4.4.0': + resolution: {integrity: sha512-yljsWl5Qv3IkIRmJ38h3NrHXFCm4EUl55M8doGTF6hvzvFF8kRpextgSrg2dwHev9lzBZyafCr9RelGIyQm6fw==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 + '@eslint-community/eslint-utils@4.4.0': resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -1433,12 +1439,6 @@ packages: peerDependencies: eslint: '>=8' - eslint-plugin-eslint-comments@3.2.0: - resolution: {integrity: sha512-0jkOl0hfojIHHmEHgmNdqv4fmh7300NdpA9FFpF7zaoLvB/QeXOGNLIo86oAveJFrfB1p05kC8hpEMHM8DwWVQ==} - engines: {node: '>=6.5.0'} - peerDependencies: - eslint: '>=4.19.1' - eslint-plugin-format@0.1.2: resolution: {integrity: sha512-ZrcO3aiumgJ6ENAv65IWkPjtW77ML/5mp0YrRK0jdvvaZJb+4kKWbaQTMr/XbJo6CtELRmCApAziEKh7L2NbdQ==} peerDependencies: @@ -3294,6 +3294,12 @@ snapshots: '@esbuild/win32-x64@0.23.0': optional: true + '@eslint-community/eslint-plugin-eslint-comments@4.4.0(eslint@9.10.0(jiti@1.21.6))': + dependencies: + escape-string-regexp: 4.0.0 + eslint: 9.10.0(jiti@1.21.6) + ignore: 5.3.1 + '@eslint-community/eslint-utils@4.4.0(eslint@9.10.0(jiti@1.21.6))': dependencies: eslint: 9.10.0(jiti@1.21.6) @@ -4212,12 +4218,6 @@ snapshots: eslint: 9.10.0(jiti@1.21.6) eslint-compat-utils: 0.5.1(eslint@9.10.0(jiti@1.21.6)) - eslint-plugin-eslint-comments@3.2.0(eslint@9.10.0(jiti@1.21.6)): - dependencies: - escape-string-regexp: 1.0.5 - eslint: 9.10.0(jiti@1.21.6) - ignore: 5.3.1 - eslint-plugin-format@0.1.2(eslint@9.10.0(jiti@1.21.6)): dependencies: '@dprint/formatter': 0.3.0 diff --git a/src/plugins.ts b/src/plugins.ts index f4de8ef..35bd644 100644 --- a/src/plugins.ts +++ b/src/plugins.ts @@ -3,7 +3,7 @@ export { default as pluginAntfu } from 'eslint-plugin-antfu'; -export { default as pluginComments } from 'eslint-plugin-eslint-comments'; +export { default as pluginComments } from '@eslint-community/eslint-plugin-eslint-comments'; export * as pluginImport from 'eslint-plugin-import-x';