34 lines
861 B
JavaScript
34 lines
861 B
JavaScript
module.exports = {
|
|
parserOptions: {
|
|
project: "./tsconfig.json"
|
|
},
|
|
extends: [
|
|
"plugin:@typescript-eslint/recommended",
|
|
"airbnb-typescript",
|
|
"next",
|
|
"next/core-web-vitals"
|
|
],
|
|
rules: {
|
|
"max-len": [
|
|
"warn",
|
|
240
|
|
],
|
|
"@typescript-eslint/quotes": [
|
|
"error",
|
|
"double"
|
|
],
|
|
"import/prefer-default-export": "warn",
|
|
"react/jsx-props-no-spreading": "off",
|
|
"react/prop-types": "off",
|
|
"react/jsx-one-expression-per-line": "off",
|
|
"eslintreact/jsx-one-expression-per-line": "off",
|
|
// Temp
|
|
"import/no-cycle": "warn",
|
|
"react/no-array-index-key": "warn",
|
|
"jsx-a11y/label-has-associated-control": "off",
|
|
"jsx-a11y/click-events-have-key-events": "off",
|
|
"jsx-a11y/no-noninteractive-element-interactions": "off",
|
|
"jsx-a11y/no-static-element-interactions": "off",
|
|
}
|
|
}
|