37 lines
1.1 KiB
JSON
Executable File
37 lines
1.1 KiB
JSON
Executable File
{
|
|
"root": true,
|
|
"parser": "@typescript-eslint/parser",
|
|
"plugins": [
|
|
// "@typescript-eslint",
|
|
// "prettier"
|
|
],
|
|
"extends": [
|
|
// "prettier",
|
|
// "eslint:recommended",
|
|
// "next/core-web-vitals",
|
|
// "plugin:import/typescript",
|
|
// "plugin:prettier/recommended",
|
|
// "plugin:react/recommended",
|
|
// "plugin:@typescript-eslint/recommended",
|
|
// "plugin:@typescript-eslint/eslint-recommended",
|
|
// "plugin:@typescript-eslint/recommended-requiring-type-checking"
|
|
],
|
|
"rules": {
|
|
"react-hooks/rules-of-hooks": "off", // error
|
|
"react-hooks/exhaustive-deps": "off",
|
|
"prettier/prettier": "off",
|
|
"@typescript-eslint/no-unused-vars": "off", // error
|
|
"@typescript-eslint/no-unsafe-argument": "off"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": ["*.ts", "*.tsx"],
|
|
"extends": [
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:@typescript-eslint/recommended-requiring-type-checking"
|
|
],
|
|
"parserOptions": {
|
|
"project": ["./tsconfig.json"]
|
|
}
|
|
}]
|
|
} |