diff --git a/common/changes/@ilbrando/eslint-plugin/fix-docs-eslint-plugin_2024-12-14-10-51.json b/common/changes/@ilbrando/eslint-plugin/fix-docs-eslint-plugin_2024-12-14-10-51.json new file mode 100644 index 0000000..b2ae79b --- /dev/null +++ b/common/changes/@ilbrando/eslint-plugin/fix-docs-eslint-plugin_2024-12-14-10-51.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@ilbrando/eslint-plugin", + "comment": "Fixed documentation for eslint-plugin", + "type": "none" + } + ], + "packageName": "@ilbrando/eslint-plugin" +} \ No newline at end of file diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 12be0be..f5dcbae 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -347,6 +347,9 @@ importers: '@eslint/js': specifier: ~9.2.0 version: 9.2.0 + '@types/eslint-config-prettier': + specifier: ~6.11.3 + version: 6.11.3 '@types/eslint__js': specifier: ~8.42.3 version: 8.42.3 @@ -2742,6 +2745,9 @@ packages: '@types/escodegen@0.0.6': resolution: {integrity: sha512-AjwI4MvWx3HAOaZqYsjKWyEObT9lcVV0Y0V8nXo6cXzN8ZiMxVhf6F3d/UNvXVGKrEzL/Dluc5p+y9GkzlTWig==} + '@types/eslint-config-prettier@6.11.3': + resolution: {integrity: sha512-3wXCiM8croUnhg9LdtZUJQwNcQYGWxxdOWDjPe1ykCqJFPVpzAKfs/2dgSoCtAvdPeaponcWPI7mPcGGp9dkKQ==} + '@types/eslint@8.56.10': resolution: {integrity: sha512-Shavhk87gCtY2fhXDctcfS3e6FdxWkCx1iUZ9eEUbh7rTqlZT0/IzOkCOVt0fCjcFuZ9FPYfuezTBImfHCDBGQ==} @@ -8601,6 +8607,8 @@ snapshots: '@types/escodegen@0.0.6': {} + '@types/eslint-config-prettier@6.11.3': {} + '@types/eslint@8.56.10': dependencies: '@types/estree': 1.0.5 diff --git a/tools/eslint-plugin/package.json b/tools/eslint-plugin/package.json index e8ba735..92074f9 100644 --- a/tools/eslint-plugin/package.json +++ b/tools/eslint-plugin/package.json @@ -29,6 +29,7 @@ "@typescript-eslint/utils": "~7.9.0", "@typescript-eslint/parser": "~7.9.0", "@typescript-eslint/eslint-plugin": "~7.10.0", + "@types/eslint-config-prettier": "~6.11.3", "@eslint/js": "~9.2.0" }, "devDependencies": { diff --git a/tools/eslint-plugin/src/index.ts b/tools/eslint-plugin/src/index.ts index bf70816..0b275b5 100644 --- a/tools/eslint-plugin/src/index.ts +++ b/tools/eslint-plugin/src/index.ts @@ -21,8 +21,8 @@ const plugin = { } satisfies FlatConfig.Plugin; /* - extends: ["eslint:recommended", "plugin:react/recommended", "plugin:react/jsx-runtime", "plugin:@typescript-eslint/recommended", "prettier"], - plugins: ["@typescript-eslint", "react", "react-hooks", "@rankingmanager/eslint-plugin-rankingmanager", "prettier"], + extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"], + plugins: ["@typescript-eslint", "prettier"], */ const configs = {