2022-05-25 03:23:05 +02:00
|
|
|
{
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"es2021": true,
|
|
|
|
"node": true,
|
|
|
|
"jest": true
|
|
|
|
},
|
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:react/recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended"
|
|
|
|
],
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaFeatures": {
|
|
|
|
"jsx": true
|
|
|
|
},
|
|
|
|
"ecmaVersion": 12,
|
|
|
|
"sourceType": "module"
|
|
|
|
},
|
|
|
|
"plugins": ["react", "@typescript-eslint"],
|
|
|
|
"rules": {
|
|
|
|
"@typescript-eslint/no-unused-vars": "error",
|
|
|
|
"no-self-assign": "off",
|
|
|
|
"@typescript-eslint/no-empty-interface": "off",
|
2022-10-08 02:51:58 +02:00
|
|
|
"react/prop-types": [2, { "ignore": ["children"] }],
|
2023-06-30 09:01:09 +02:00
|
|
|
"@typescript-eslint/member-delimiter-style": "warn",
|
|
|
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
|
|
"@typescript-eslint/ban-ts-comment": "off",
|
|
|
|
"@typescript-eslint/no-this-alias": "off"
|
2022-05-25 03:23:05 +02:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"react": {
|
|
|
|
"version": "detect"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|