2016-10-30 11:57:12 +01:00
|
|
|
{
|
|
|
|
"extends": "airbnb",
|
2018-09-30 22:08:36 +02:00
|
|
|
"parser": "babel-eslint",
|
2020-02-14 05:06:15 +01:00
|
|
|
"plugins": [
|
|
|
|
"react",
|
|
|
|
"react-hooks"
|
|
|
|
],
|
2016-10-30 11:57:12 +01:00
|
|
|
"env": {
|
|
|
|
"node": true,
|
2021-02-19 13:43:48 +01:00
|
|
|
"browser": true,
|
|
|
|
"jest": true
|
2016-10-30 11:57:12 +01:00
|
|
|
},
|
|
|
|
"rules": {
|
2020-02-21 10:37:36 +01:00
|
|
|
"max-len": 0,
|
2020-02-14 05:06:15 +01:00
|
|
|
"react-hooks/rules-of-hooks": "error",
|
|
|
|
"react-hooks/exhaustive-deps": "error",
|
2020-03-04 12:05:05 +01:00
|
|
|
"import/no-extraneous-dependencies": ["error", {
|
|
|
|
"devDependencies": true,
|
|
|
|
"optionalDependencies": false
|
|
|
|
}],
|
2020-02-14 05:06:15 +01:00
|
|
|
|
2020-02-16 05:33:38 +01:00
|
|
|
"react/jsx-fragments": 0,
|
2018-09-30 22:08:36 +02:00
|
|
|
"no-console": 0,
|
|
|
|
"react/destructuring-assignment": 0,
|
2019-01-28 00:21:53 +01:00
|
|
|
"react/forbid-prop-types": [1, { "forbid": ["any"] }],
|
2019-01-28 18:09:54 +01:00
|
|
|
"jsx-a11y/click-events-have-key-events": 0,
|
2020-02-16 05:33:38 +01:00
|
|
|
"jsx-a11y/interactive-supports-focus": 0,
|
2020-02-11 16:55:43 +01:00
|
|
|
"react/jsx-one-expression-per-line": 0,
|
2020-02-14 05:06:15 +01:00
|
|
|
"object-curly-newline": 0,
|
|
|
|
"arrow-parens": 0,
|
|
|
|
"jsx-a11y/control-has-associated-label": 0,
|
2020-03-19 16:37:38 +01:00
|
|
|
"react/prop-types": 0
|
2020-02-14 05:06:15 +01:00
|
|
|
}
|
2016-10-30 11:57:12 +01:00
|
|
|
}
|