Minimize ESLint config

This commit is contained in:
Nikita Karamov 2023-08-30 12:02:51 +02:00
parent b1ff802b3f
commit 3a656ec38e
No known key found for this signature in database
GPG key ID: 41D6F71EE78E77CD
3 changed files with 2 additions and 16 deletions

View file

@ -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
}
}
]
}

View file

@ -1,3 +1,4 @@
/* eslint-env node */
import { defineConfig } from "astro/config";
import lightningcss from "vite-plugin-lightningcss";

1
src/env.d.ts vendored
View file

@ -1 +1,2 @@
/* eslint-disable unicorn/prevent-abbreviations */
/// <reference types="astro/client" />