68 lines
1.2 KiB
JSON
68 lines
1.2 KiB
JSON
{
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"project": "./tsconfig.json"
|
|
},
|
|
"plugins": [
|
|
"@typescript-eslint"
|
|
],
|
|
"extends": [
|
|
"plugin:import/recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:@typescript-eslint/recommended-requiring-type-checking",
|
|
"next/core-web-vitals"
|
|
],
|
|
"rules": {
|
|
"semi": [
|
|
"error",
|
|
"always"
|
|
],
|
|
"arrow-spacing": [
|
|
"error",
|
|
{
|
|
"before": true,
|
|
"after": true
|
|
}
|
|
],
|
|
"block-spacing": [
|
|
"error"
|
|
],
|
|
"semi-spacing": [
|
|
"error"
|
|
],
|
|
"computed-property-spacing": [
|
|
"error"
|
|
],
|
|
"comma-spacing": [
|
|
"error"
|
|
],
|
|
"keyword-spacing": [
|
|
"error"
|
|
],
|
|
"func-call-spacing": [
|
|
"error"
|
|
],
|
|
"template-curly-spacing": [
|
|
"error"
|
|
],
|
|
"array-bracket-spacing": [
|
|
"error"
|
|
],
|
|
"@typescript-eslint/explicit-function-return-type": [
|
|
"error"
|
|
],
|
|
"indent": [
|
|
"error",
|
|
2
|
|
],
|
|
"@typescript-eslint/no-inferrable-types": [
|
|
"off"
|
|
],
|
|
"@typescript-eslint/no-empty-function": [
|
|
"off"
|
|
],
|
|
"jsx-a11y/alt-text": [
|
|
"off"
|
|
]
|
|
}
|
|
} |