2018-04-07 14:18:06 +02:00
|
|
|
{
|
2018-05-12 22:14:53 +02:00
|
|
|
"parser": "babel-eslint",
|
2018-05-04 19:42:17 +02:00
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
2018-05-12 22:14:53 +02:00
|
|
|
"plugin:react/recommended",
|
2019-12-14 13:38:46 +01:00
|
|
|
"plugin:prettier/recommended",
|
|
|
|
"plugin:testing-library/recommended",
|
|
|
|
"plugin:testing-library/react"
|
2018-05-04 19:42:17 +02:00
|
|
|
],
|
2019-12-14 13:38:46 +01:00
|
|
|
"plugins": ["react", "graphql", "prettier", "react-hooks", "testing-library"],
|
2018-04-07 14:18:06 +02:00
|
|
|
"parserOptions": {
|
|
|
|
"sourceType": "module",
|
|
|
|
"ecmaFeatures": {
|
|
|
|
"jsx": true,
|
|
|
|
"modules": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
2018-04-08 22:49:58 +02:00
|
|
|
"node": true,
|
2019-04-14 03:29:35 +02:00
|
|
|
"es6": true,
|
|
|
|
"jest": true
|
2018-04-07 14:18:06 +02:00
|
|
|
},
|
2018-05-12 22:14:53 +02:00
|
|
|
"rules": {
|
|
|
|
"quotes": ["error", "single"],
|
|
|
|
"semi": ["error", "never"],
|
2018-05-14 22:30:18 +02:00
|
|
|
"object-curly-spacing": ["error", "always"],
|
2019-05-25 13:26:57 +02:00
|
|
|
"prettier/prettier": "error",
|
|
|
|
"react-hooks/rules-of-hooks": "error",
|
|
|
|
"react-hooks/exhaustive-deps": "warn"
|
2018-12-07 13:57:44 +01:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"react": {
|
|
|
|
"version": "16"
|
|
|
|
}
|
2018-04-07 14:18:06 +02:00
|
|
|
}
|
|
|
|
}
|