mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
fix: use js config
This commit is contained in:
parent
ecd4688ec9
commit
74418c6ae5
@ -5,7 +5,12 @@ import tseslint from "typescript-eslint"
|
|||||||
export default tseslint.config(
|
export default tseslint.config(
|
||||||
{ ignores: [".next"] },
|
{ ignores: [".next"] },
|
||||||
{
|
{
|
||||||
extends: [js.configs.recommended, ...tseslint.configs.recommended,"next/core-web-vitals", "next/typescript"],
|
extends: [
|
||||||
|
js.configs.recommended,
|
||||||
|
...tseslint.configs.recommended,
|
||||||
|
"next/core-web-vitals",
|
||||||
|
"next/typescript",
|
||||||
|
],
|
||||||
files: ["**/*.{ts,tsx}"],
|
files: ["**/*.{ts,tsx}"],
|
||||||
languageOptions: {
|
languageOptions: {
|
||||||
ecmaVersion: 2020,
|
ecmaVersion: 2020,
|
||||||
|
Loading…
Reference in New Issue
Block a user