[ci] Fix linting
This commit is contained in:
@ -1,7 +1,15 @@
|
||||
{
|
||||
"parser": "babel-eslint",
|
||||
"parser": "@babel/eslint-parser",
|
||||
"extends": [
|
||||
"airbnb"
|
||||
"eslint:recommended",
|
||||
"plugin:react/recommended",
|
||||
"plugin:react-hooks/recommended",
|
||||
"plugin:import/recommended"
|
||||
],
|
||||
"plugins": [
|
||||
"react",
|
||||
"react-hooks",
|
||||
"import"
|
||||
],
|
||||
"rules": {
|
||||
"react/jsx-filename-extension": 0,
|
||||
@ -11,14 +19,42 @@
|
||||
"react/prop-types": 0,
|
||||
"linebreak-style": 0,
|
||||
"no-case-declarations": 0,
|
||||
"camelcase": 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
|
||||
"fetch": true,
|
||||
"$": true
|
||||
},
|
||||
"env": {
|
||||
"jest": true,
|
||||
"browser": true,
|
||||
"es6": true
|
||||
"es6": true,
|
||||
"node": true
|
||||
},
|
||||
"settings": {
|
||||
"react": {
|
||||
"version": "detect"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user