60 lines
1.3 KiB
JSON
Executable File
60 lines
1.3 KiB
JSON
Executable File
{
|
|
"parser": "@babel/eslint-parser",
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:react/recommended",
|
|
"plugin:react-hooks/recommended",
|
|
"plugin:import/recommended"
|
|
],
|
|
"plugins": [
|
|
"react",
|
|
"react-hooks",
|
|
"import"
|
|
],
|
|
"rules": {
|
|
"react/jsx-filename-extension": 0,
|
|
"react/no-danger": 0,
|
|
"no-console": 0,
|
|
"no-underscore-dangle": 0,
|
|
"react/prop-types": 0,
|
|
"linebreak-style": 0,
|
|
"no-case-declarations": 0,
|
|
"camelcase": 0,
|
|
"import/no-unresolved": 0,
|
|
"import/named": 0,
|
|
"import/namespace": 0,
|
|
"import/default": 0,
|
|
"import/export": 0,
|
|
"no-unused-vars": ["warn", { "args": "none", "varsIgnorePattern": "^_" }],
|
|
"react/display-name": 0,
|
|
"no-prototype-builtins": 0,
|
|
"no-mixed-spaces-and-tabs": 0,
|
|
"no-redeclare": 0,
|
|
"no-undef": 0,
|
|
"react/jsx-no-target-blank": 0,
|
|
"react-hooks/exhaustive-deps": 0,
|
|
"no-empty": 0,
|
|
"no-extra-boolean-cast": 0,
|
|
"no-useless-escape": 0,
|
|
"no-inner-declarations": 0,
|
|
"no-unreachable": 0,
|
|
"react-hooks/rules-of-hooks": 0,
|
|
"no-constant-condition": 0,
|
|
"no-empty-pattern": 0
|
|
},
|
|
"globals": {
|
|
"fetch": true,
|
|
"$": true
|
|
},
|
|
"env": {
|
|
"jest": true,
|
|
"browser": true,
|
|
"es6": true,
|
|
"node": true
|
|
},
|
|
"settings": {
|
|
"react": {
|
|
"version": "detect"
|
|
}
|
|
}
|
|
} |