mirror of
https://github.com/kremalicious/portfolio.git
synced 2024-11-13 16:45:12 +01:00
36 lines
734 B
Plaintext
36 lines
734 B
Plaintext
{
|
|
"parser": "babel-eslint",
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:react/recommended",
|
|
"plugin:prettier/recommended"
|
|
],
|
|
"plugins": ["react", "graphql", "prettier", "react-hooks"],
|
|
"parserOptions": {
|
|
"sourceType": "module",
|
|
"ecmaFeatures": {
|
|
"jsx": true,
|
|
"modules": true
|
|
}
|
|
},
|
|
"env": {
|
|
"browser": true,
|
|
"node": true,
|
|
"es6": true,
|
|
"jest": true
|
|
},
|
|
"rules": {
|
|
"quotes": ["error", "single"],
|
|
"semi": ["error", "never"],
|
|
"object-curly-spacing": ["error", "always"],
|
|
"prettier/prettier": "error",
|
|
"react-hooks/rules-of-hooks": "error",
|
|
"react-hooks/exhaustive-deps": "warn"
|
|
},
|
|
"settings": {
|
|
"react": {
|
|
"version": "16"
|
|
}
|
|
}
|
|
}
|