mirror of
https://github.com/theoludwig/p61-project.git
synced 2024-07-17 07:00:12 +02:00
44 lines
844 B
JSON
44 lines
844 B
JSON
{
|
|
"extends": [
|
|
"conventions",
|
|
"plugin:react/recommended",
|
|
"plugin:react-hooks/recommended"
|
|
],
|
|
"ignorePatterns": ["jest.setup.ts"],
|
|
"env": {
|
|
"browser": true,
|
|
"node": true,
|
|
"jest": true
|
|
},
|
|
"settings": {
|
|
"react": {
|
|
"version": "detect"
|
|
}
|
|
},
|
|
"parserOptions": {
|
|
"project": "./tsconfig.json"
|
|
},
|
|
"rules": {
|
|
"react/react-in-jsx-scope": "off",
|
|
"react/prop-types": "off",
|
|
"react/self-closing-comp": [
|
|
"error",
|
|
{
|
|
"component": true,
|
|
"html": true
|
|
}
|
|
],
|
|
"react/void-dom-elements-no-children": "error",
|
|
"react/jsx-boolean-value": "error"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": ["*.ts", "*.tsx"],
|
|
"parser": "@typescript-eslint/parser",
|
|
"rules": {
|
|
"@typescript-eslint/member-delimiter-style": "off"
|
|
}
|
|
}
|
|
]
|
|
}
|