Skip to content

Commit c268f2b

Browse files
committed
Merge branch 'frontend-fix-deprecated-deps'
2 parents 8b04d02 + 0ac94ca commit c268f2b

File tree

4 files changed

+794
-3092
lines changed

4 files changed

+794
-3092
lines changed

frontends/web/.eslintrc.json

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
{
2-
"extends": ["react-app"],
2+
"extends": [
3+
"eslint:recommended",
4+
"plugin:@typescript-eslint/recommended",
5+
"plugin:react/recommended",
6+
"plugin:react-hooks/recommended"
7+
],
8+
"settings": {
9+
"react": {
10+
"version": "detect"
11+
}
12+
},
313
"rules": {
414
"brace-style": ["error", "1tbs"],
515
"comma-spacing": ["error", { "before": false, "after": true }],
@@ -21,7 +31,21 @@
2131
"arrow-spacing": "error",
2232
"space-infix-ops": "error",
2333
"react/no-unused-prop-types": "error",
24-
"react/jsx-equals-spacing": ["error", "never"]
34+
"react/jsx-equals-spacing": ["error", "never"],
35+
"react/react-in-jsx-scope": "off",
36+
"@typescript-eslint/no-explicit-any": "off",
37+
"no-case-declarations": "off",
38+
"react/no-children-prop": "off",
39+
"prefer-const": "off",
40+
"react/prop-types": "off",
41+
"@typescript-eslint/no-unused-vars": "off",
42+
"no-extra-boolean-cast": "off",
43+
"@typescript-eslint/ban-types": "off",
44+
"no-undef": "off",
45+
"no-empty": "off",
46+
"react/display-name": "off",
47+
"@typescript-eslint/ban-ts-comment": "off",
48+
"no-async-promise-executor": "off"
2549
},
2650
"overrides": [
2751
{

0 commit comments

Comments
 (0)