From b0b8b4e8bbd78494dceea8afff5dbffec460b991 Mon Sep 17 00:00:00 2001 From: odan Date: Sun, 12 May 2024 19:21:03 +0900 Subject: [PATCH 1/3] add name of config object --- src/configs/flat/base.ts | 4 ++++ src/configs/flat/recommended.ts | 1 + tools/update-rulesets.ts | 5 +++++ 3 files changed, 10 insertions(+) diff --git a/src/configs/flat/base.ts b/src/configs/flat/base.ts index 7d549e5c..05c0d0de 100644 --- a/src/configs/flat/base.ts +++ b/src/configs/flat/base.ts @@ -12,6 +12,7 @@ import { environments } from "../../environments/index" let plugin: unknown export default [ { + name: "eslint-plugin-astro/base/plugin", plugins: { get astro(): ESLint.Plugin { // eslint-disable-next-line @typescript-eslint/no-require-imports, @typescript-eslint/no-var-requires -- ignore @@ -20,6 +21,7 @@ export default [ }, }, { + name: "eslint-plugin-astro/base", files: ["*.astro", "**/*.astro"], languageOptions: { globals: { @@ -45,6 +47,7 @@ export default [ { // Define the configuration for `