2024-02-16 22:51:50 +01:00
|
|
|
{
|
2024-05-22 13:44:54 +02:00
|
|
|
"root": true,
|
2024-02-16 22:51:50 +01:00
|
|
|
"extends": [
|
|
|
|
"conventions",
|
|
|
|
"plugin:react/recommended",
|
2024-05-20 11:40:38 +02:00
|
|
|
"plugin:react-hooks/recommended"
|
2024-02-16 22:51:50 +01:00
|
|
|
],
|
|
|
|
"ignorePatterns": ["jest.setup.ts"],
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"node": true,
|
|
|
|
"jest": true
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"react": {
|
|
|
|
"version": "detect"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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"],
|
2024-05-20 11:40:38 +02:00
|
|
|
"parser": "@typescript-eslint/parser",
|
2024-05-22 13:44:54 +02:00
|
|
|
"plugins": ["@typescript-eslint"],
|
|
|
|
"parserOptions": {
|
|
|
|
"project": "./tsconfig.json"
|
2024-05-20 11:40:38 +02:00
|
|
|
}
|
2024-02-16 22:51:50 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|