63 lines
1.8 KiB
JSON
63 lines
1.8 KiB
JSON
{
|
|
"root": true,
|
|
"env": {
|
|
"browser": true,
|
|
"commonjs": true,
|
|
"es6": true,
|
|
"node": true
|
|
},
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:react/recommended",
|
|
"plugin:import/errors",
|
|
"plugin:import/warnings",
|
|
"plugin:jsx-a11y/recommended",
|
|
"plugin:react-hooks/recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"airbnb-typescript"
|
|
],
|
|
"globals": {
|
|
"Atomics": "readonly",
|
|
"SharedArrayBuffer": "readonly"
|
|
},
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
},
|
|
"ecmaVersion": 2018,
|
|
"sourceType": "module",
|
|
"project": "./tsconfig.json"
|
|
},
|
|
"plugins": [],
|
|
"settings": {
|
|
"react": {
|
|
"version": "detect"
|
|
}
|
|
},
|
|
"rules": {
|
|
"@typescript-eslint/naming-convention": "off",
|
|
"max-len": [
|
|
"warn",
|
|
240
|
|
],
|
|
"@typescript-eslint/quotes": [
|
|
"error",
|
|
"double"
|
|
],
|
|
"import/prefer-default-export": "warn",
|
|
"react/jsx-props-no-spreading": "off",
|
|
"react/prop-types": "off",
|
|
// Temp
|
|
"react/jsx-one-expression-per-line": "off",
|
|
"react/no-array-index-key": "off",
|
|
"@typescript-eslint/explicit-function-return-type": "off",
|
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
"jsx-a11y/alt-text": "off",
|
|
"jsx-a11y/iframe-has-title": "off",
|
|
"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"
|
|
}
|
|
} |