airboardgame/.eslintrc
Jeremie Pardou-Piquemal de4439b101 Enhance global design
2020-10-28 22:13:32 +01:00

40 lines
767 B
Text

{
"root": true,
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"browser": true,
"node": true,
"es6": true,
"jest": true
},
"settings": {
"react": {
"version": "detect"
}
},
"parser": "babel-eslint",
"rules": {
"semi": "error",
"react-hooks/exhaustive-deps": [
"warn", {
"additionalHooks": "useRecoilCallback"
}
],
"react/prop-types": "off",
"jsx-a11y/anchor-is-valid": "off"
},
"plugins": ["react-hooks"],
"extends": [
"eslint:recommended",
"plugin:react-hooks/recommended",
"plugin:prettier/recommended",
"plugin:react-hooks/recommended",
"plugin:react/recommended"
]
}