forked from ceat-epfl/pgis-toolkit-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
35 lines (35 loc) · 1.06 KB
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"parser": "@babel/eslint-parser",
"extends": ["airbnb", "prettier"],
"plugins": ["prettier", "react-hooks"],
"env": {
"browser": true
},
"settings": {
"import/resolver": {
"webpack": {
"config": "config/webpack.base.config.js"
}
}
},
"rules": {
"no-console": "off",
"no-unused-vars": "off",
"prettier/prettier": "error",
"react/jsx-props-no-spreading": ["error", { "custom": "ignore" }],
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"react/forbid-prop-types": "off",
"no-unsafe-optional-chaining": "off",
"import/no-import-module-exports": "off",
"react/function-component-definition": "off",
"jsx-a11y/label-has-associated-control": "off",
"jsx-a11y/control-has-associated-label": "off",
"jsx-a11y/anchor-is-valid": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-static-element-interactions": "off",
"jsx-a11y/anchor-has-content": "off",
"react/prop-types": "off",
"react/no-unknown-property": "off"
}
}