-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
54 lines (54 loc) · 1.53 KB
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"env": {
"browser": true,
"node": true,
"es2020": true
},
"extends": [
"airbnb",
"airbnb/hooks",
"eslint:recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript"
],
"plugins": ["html", "import", "@typescript-eslint"],
"parser": "@typescript-eslint/parser",
"rules": {
"react/jsx-filename-extension": "off",
"import/extensions": "off",
"camelcase": "off",
"no-undef": "off",
"no-unused-vars": "off",
"no-console": "off",
"no-use-before-define": "off",
"no-shadow": "off",
"import/no-unresolved": "off",
"no-param-reassign": "off",
"react/button-has-type": "off",
"linebreak-style": "off",
"react/jsx-one-expression-per-line": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-static-element-interactions": "off",
"jsx-a11y/no-autofocus": "off",
"react/jsx-props-no-spreading": "off",
"import/no-extraneous-dependencies": "off",
"object-curly-newline": "off",
"comma-dangle": "off",
"react-hooks/exhaustive-deps": "off",
"max-len": [
"error",
{
"code": 120,
"ignoreUrls": true,
"ignoreTemplateLiterals": true
}
],
"react/no-array-index-key": "off",
"default-case": "off",
"react/require-default-props": "off",
"array-callback-return": "off",
"no-plusplus": "off",
"no-nested-ternary": "off",
}
}