2020-06-05 22:58:53 +02:00
|
|
|
{
|
|
|
|
"root": true,
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 6,
|
|
|
|
"sourceType": "module",
|
|
|
|
"ecmaFeatures": {
|
|
|
|
"jsx": true
|
|
|
|
}
|
|
|
|
},
|
2020-06-19 13:49:33 +02:00
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"node": true,
|
2020-06-19 20:08:50 +02:00
|
|
|
"es6": true,
|
2020-06-19 13:49:33 +02:00
|
|
|
"jest": true
|
|
|
|
},
|
|
|
|
"settings": {
|
2020-06-18 21:16:38 +02:00
|
|
|
"react": {
|
|
|
|
"version": "detect"
|
2020-06-19 13:49:33 +02:00
|
|
|
}
|
2020-06-18 21:16:38 +02:00
|
|
|
},
|
2020-06-05 22:58:53 +02:00
|
|
|
"parser": "babel-eslint",
|
|
|
|
"rules": {
|
2020-06-18 21:08:49 +02:00
|
|
|
"semi": "error",
|
2020-07-28 19:54:16 +02:00
|
|
|
"react-hooks/exhaustive-deps": [
|
|
|
|
"warn", {
|
|
|
|
"additionalHooks": "useRecoilCallback"
|
|
|
|
}
|
2020-10-24 20:33:12 +02:00
|
|
|
],
|
|
|
|
"react/prop-types": "off",
|
2020-10-29 20:49:50 +01:00
|
|
|
"jsx-a11y/anchor-is-valid": "off",
|
|
|
|
"no-unused-vars": "warn"
|
2020-06-05 22:58:53 +02:00
|
|
|
},
|
|
|
|
"plugins": ["react-hooks"],
|
2020-06-18 21:08:49 +02:00
|
|
|
"extends": [
|
2020-06-19 13:49:33 +02:00
|
|
|
"eslint:recommended",
|
2020-06-18 21:08:49 +02:00
|
|
|
"plugin:react-hooks/recommended",
|
|
|
|
"plugin:prettier/recommended",
|
|
|
|
"plugin:react-hooks/recommended",
|
|
|
|
"plugin:react/recommended"
|
|
|
|
]
|
2020-06-05 22:58:53 +02:00
|
|
|
}
|