diff --git a/.eslintrc.json b/.eslintrc.json index 8d5263b..c246890 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -20,22 +20,6 @@ "parser": "@typescript-eslint/parser", "extraFileExtensions": [".astro"] } - }, - { - "files": ["api/*.js", "astro.config.mjs"], - "env": { - "node": true, - "browser": false - }, - "rules": { - "unicorn/prefer-node-protocol": 0 - } - }, - { - "files": ["src/env.d.ts"], - "rules": { - "unicorn/prevent-abbreviations": 0 - } } ] } diff --git a/astro.config.mjs b/astro.config.mjs index d1b4352..6a1e796 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -1,3 +1,4 @@ +/* eslint-env node */ import { defineConfig } from "astro/config"; import lightningcss from "vite-plugin-lightningcss"; diff --git a/src/env.d.ts b/src/env.d.ts index f964fe0..e7fdb7b 100644 --- a/src/env.d.ts +++ b/src/env.d.ts @@ -1 +1,2 @@ +/* eslint-disable unicorn/prevent-abbreviations */ ///