55 lines
985 B
JSON
55 lines
985 B
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es2021": true,
|
|
"node": true
|
|
},
|
|
"extends": [
|
|
"next/core-web-vitals",
|
|
"standard-with-typescript",
|
|
"plugin:react/recommended"
|
|
],
|
|
"parserOptions": {
|
|
"ecmaVersion": "latest",
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": [
|
|
"react"
|
|
],
|
|
"rules": {
|
|
"react/react-in-jsx-scope": "off",
|
|
"react/jsx-uses-react": "off",
|
|
"indent": "off",
|
|
"@typescript-eslint/indent": [
|
|
"error",
|
|
2,
|
|
{
|
|
"SwitchCase": 1
|
|
}
|
|
],
|
|
"react/jsx-indent": [
|
|
"error",
|
|
2
|
|
],
|
|
"no-use-before-define": "off",
|
|
"@typescript-eslint/no-use-before-define": [
|
|
"error"
|
|
],
|
|
"no-unused-vars": "off",
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"error",
|
|
{
|
|
"argsIgnorePattern": "^_"
|
|
}
|
|
],
|
|
"react-hooks/exhaustive-deps": "off",
|
|
"react/no-unknown-property": [
|
|
"error",
|
|
{
|
|
"ignore": [
|
|
"css"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
} |