fix up linting

This commit is contained in:
fmtabbara
2024-07-08 18:18:41 +01:00
parent 4c01ee0150
commit 6c8d5c129d
4 changed files with 8 additions and 4 deletions
+4 -1
View File
@@ -1,3 +1,6 @@
{
"extends": ["next/core-web-vitals"]
"extends": ["next/core-web-vitals"],
"rules": {
"react-hooks/exhaustive-deps": "off"
}
}
@@ -15,6 +15,7 @@
"allowConstantExport": true
}
],
"@typescript-eslint/no-explicit-any": "warn"
"@typescript-eslint/no-explicit-any": "off",
"react-hooks/exhaustive-deps": "off"
}
}
+1 -1
View File
@@ -1 +1 @@
declare type FCWithChildren<P = {}> = React.FC<React.PropsWithChildren<P>>;
declare type FCWithChildren<P = Object> = React.FC<React.PropsWithChildren<P>>;
@@ -1,5 +1,5 @@
{
"extends": "../../../../../../../tsconfig.json",
"extends": "../../../../../tsconfig.json",
"compilerOptions": {
"module": "ESNext",
"outDir": "./dist"