36 lines
1.0 KiB
JSON
36 lines
1.0 KiB
JSON
|
|
{
|
||
|
|
"extends": [
|
||
|
|
"next/core-web-vitals",
|
||
|
|
"plugin:@typescript-eslint/recommended",
|
||
|
|
"plugin:jsx-a11y/recommended"
|
||
|
|
],
|
||
|
|
"parser": "@typescript-eslint/parser",
|
||
|
|
"parserOptions": {
|
||
|
|
"ecmaVersion": 2020,
|
||
|
|
"sourceType": "module",
|
||
|
|
"ecmaFeatures": {
|
||
|
|
"jsx": true
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"plugins": ["@typescript-eslint", "jsx-a11y", "import"],
|
||
|
|
"rules": {
|
||
|
|
"@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_" }],
|
||
|
|
"@typescript-eslint/no-explicit-any": "error",
|
||
|
|
"@typescript-eslint/explicit-function-return-type": "off",
|
||
|
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
||
|
|
"react-hooks/exhaustive-deps": "warn",
|
||
|
|
"react-hooks/rules-of-hooks": "error",
|
||
|
|
"import/order": [
|
||
|
|
"warn",
|
||
|
|
{
|
||
|
|
"groups": ["builtin", "external", "internal", "parent", "sibling", "index"],
|
||
|
|
"newlines-between": "always",
|
||
|
|
"alphabetize": { "order": "asc", "caseInsensitive": true }
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"jsx-a11y/alt-text": "warn",
|
||
|
|
"jsx-a11y/anchor-is-valid": "warn"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|