1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2024-11-15 09:35:17 +01:00
portfolio/.eslintrc

32 lines
706 B
Plaintext
Raw Normal View History

2018-04-07 14:18:06 +02:00
{
2018-05-04 19:42:17 +02:00
"extends": [
"eslint:recommended",
2018-05-12 22:14:53 +02:00
"plugin:react/recommended",
2021-05-23 12:30:39 +02:00
"plugin:testing-library/dom",
2019-12-14 13:38:46 +01:00
"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",
2021-03-13 17:00:45 +01:00
"ecmaFeatures": { "jsx": true }
2018-04-07 14:18:06 +02:00
},
"env": {
"browser": true,
2018-04-08 22:49:58 +02:00
"node": true,
2021-03-13 17:00:45 +01:00
"es2020": true,
2019-04-14 03:29:35 +02:00
"jest": true
2018-04-07 14:18:06 +02:00
},
2018-05-12 22:14:53 +02:00
"rules": {
2019-05-25 13:26:57 +02:00
"prettier/prettier": "error",
"react-hooks/rules-of-hooks": "error",
2021-05-23 12:30:39 +02:00
"react-hooks/exhaustive-deps": "warn",
"testing-library/no-node-access": "off",
"testing-library/no-container": "off"
},
"settings": {
"react": {
2020-11-20 23:36:55 +01:00
"version": "detect"
}
2018-04-07 14:18:06 +02:00
}
}