mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
Merge branch 'main' into pr-dev
This commit is contained in:
commit
2b918ef915
@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
"extends": ["next/core-web-vitals", "next/typescript"],
|
|
||||||
"rules": {
|
|
||||||
"@typescript-eslint/no-explicit-any": "off",
|
|
||||||
"@next/next/no-img-element": "off",
|
|
||||||
"react-hooks/exhaustive-deps": "off"
|
|
||||||
}
|
|
||||||
}
|
|
@ -5,7 +5,7 @@ import tseslint from "typescript-eslint"
|
|||||||
export default tseslint.config(
|
export default tseslint.config(
|
||||||
{ ignores: [".next"] },
|
{ ignores: [".next"] },
|
||||||
{
|
{
|
||||||
extends: [js.configs.recommended, ...tseslint.configs.recommended],
|
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