2019-10-20 01:40:55 +02:00
|
|
|
{
|
2019-10-20 19:59:22 +02:00
|
|
|
"extends": ["eslint:recommended", "prettier"],
|
2021-09-12 17:00:43 +02:00
|
|
|
"parserOptions": {
|
|
|
|
"sourceType": "module",
|
|
|
|
"ecmaFeatures": { "jsx": true }
|
|
|
|
},
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"node": true,
|
|
|
|
"es2020": true,
|
|
|
|
"jest": true
|
|
|
|
},
|
2019-10-20 19:59:22 +02:00
|
|
|
"settings": { "react": { "version": "detect" } },
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"files": ["**/*.ts", "**/*.tsx"],
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"parserOptions": {
|
2021-09-12 17:00:43 +02:00
|
|
|
"ecmaVersion": 2020,
|
2019-10-20 19:59:22 +02:00
|
|
|
"sourceType": "module",
|
|
|
|
"ecmaFeatures": {
|
|
|
|
"jsx": true
|
|
|
|
},
|
|
|
|
"project": "./tsconfig.json",
|
|
|
|
"tsconfigRootDir": "./"
|
|
|
|
},
|
|
|
|
"extends": [
|
|
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
"plugin:jsx-a11y/recommended",
|
|
|
|
"plugin:prettier/recommended",
|
2021-09-12 16:41:30 +02:00
|
|
|
"plugin:react/recommended",
|
|
|
|
"plugin:react-hooks/recommended"
|
2019-10-20 19:59:22 +02:00
|
|
|
],
|
|
|
|
"plugins": ["@typescript-eslint", "react"],
|
|
|
|
"rules": {
|
|
|
|
"react/prop-types": "off",
|
|
|
|
"@typescript-eslint/explicit-function-return-type": "off"
|
|
|
|
}
|
2019-10-20 01:40:55 +02:00
|
|
|
}
|
2019-10-20 19:59:22 +02:00
|
|
|
]
|
2019-10-20 01:40:55 +02:00
|
|
|
}
|