-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
50 lines (49 loc) · 1.55 KB
/
.eslintrc.json
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
{
"env": {
"browser": true,
"es2021": true
},
"extends": ["plugin:react/recommended", "airbnb"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": ["react", "@typescript-eslint"],
"rules": {
"no-nested-ternary": "off",
// "linebreak-style": 0 ,
"linebreak-style": ["error", "windows"],
"import/prefer-default-export": "off",
"react/no-unescaped-entities": "off",
"max-len": "off",
"object-shorthand":"off",
"react/no-danger": "off",
"no-use-before-define": "off",
"jsx-a11y/no-noninteractive-element-interactions": "off",
"jsx-a11y/click-events-have-key-events": "off",
"react/button-has-type": "off",
"no-shadow": "off",
"no-console": "off",
"no-alert": "off",
"import/no-dynamic-require": "off",
"global-require": "off",
"react/no-array-index-key": "off",
"prefer-destructuring": "off",
"react/jsx-props-no-spreading": "off",
"react/jsx-filename-extension": "off",
"prefer-template":"off",
"arrow-body-style":"off",
"object-curly-newline":"off",
"jsx-a11y/anchor-has-content": "off",
"jsx-a11y/control-has-associated-label": "off",
"jsx-a11y/label-has-associated-control": "off",
"react/prop-types": "off",
"jsx-a11y/interactive-supports-focus": "off",
"react/destructuring-assignment": 0,
"consistent-return": "off"
}
}