Minimize ESLint config
This commit is contained in:
parent
b1ff802b3f
commit
3a656ec38e
3 changed files with 2 additions and 16 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
/* eslint-env node */
|
||||
import { defineConfig } from "astro/config";
|
||||
import lightningcss from "vite-plugin-lightningcss";
|
||||
|
||||
|
|
1
src/env.d.ts
vendored
1
src/env.d.ts
vendored
|
@ -1 +1,2 @@
|
|||
/* eslint-disable unicorn/prevent-abbreviations */
|
||||
/// <reference types="astro/client" />
|
||||
|
|
Reference in a new issue