mirror of
https://github.com/kremalicious/portfolio.git
synced 2024-11-15 09:35:17 +01:00
32 lines
706 B
Plaintext
32 lines
706 B
Plaintext
{
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:react/recommended",
|
|
"plugin:testing-library/dom",
|
|
"plugin:testing-library/react"
|
|
],
|
|
"plugins": ["react", "graphql", "prettier", "react-hooks", "testing-library"],
|
|
"parserOptions": {
|
|
"sourceType": "module",
|
|
"ecmaFeatures": { "jsx": true }
|
|
},
|
|
"env": {
|
|
"browser": true,
|
|
"node": true,
|
|
"es2020": true,
|
|
"jest": true
|
|
},
|
|
"rules": {
|
|
"prettier/prettier": "error",
|
|
"react-hooks/rules-of-hooks": "error",
|
|
"react-hooks/exhaustive-deps": "warn",
|
|
"testing-library/no-node-access": "off",
|
|
"testing-library/no-container": "off"
|
|
},
|
|
"settings": {
|
|
"react": {
|
|
"version": "detect"
|
|
}
|
|
}
|
|
}
|