2018-03-17 19:36:42 +02:00
|
|
|
{
|
2018-03-17 20:43:34 +02:00
|
|
|
"parser": "babel-eslint",
|
|
|
|
"plugins": [
|
2020-03-18 11:56:59 +00:00
|
|
|
"react", "prettier", "react-hooks"
|
2018-03-17 20:43:34 +02:00
|
|
|
],
|
2018-03-17 22:39:21 +02:00
|
|
|
"extends": ["standard", "standard-react", "prettier"],
|
|
|
|
"rules": {
|
2020-03-18 11:56:59 +00:00
|
|
|
"react-hooks/rules-of-hooks": "error",
|
|
|
|
"react-hooks/exhaustive-deps": "error",
|
2018-03-17 22:39:21 +02:00
|
|
|
'prettier/prettier': [
|
|
|
|
'warn',
|
|
|
|
{
|
|
|
|
singleQuote: true,
|
2018-07-07 22:15:14 +01:00
|
|
|
printWidth: 140,
|
2018-03-20 02:49:32 +02:00
|
|
|
trailingComma: 'all'
|
|
|
|
}
|
2018-03-17 22:39:21 +02:00
|
|
|
]
|
2018-10-20 22:10:21 +01:00
|
|
|
},
|
|
|
|
"env":{
|
|
|
|
"es6": true
|
|
|
|
},
|
|
|
|
"globals": { "fetch": false }
|
2018-03-17 19:36:42 +02:00
|
|
|
}
|