-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc
95 lines (95 loc) · 2.83 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"jest": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"jsx": true,
"modules": true,
"experimentalObjectRestSpread": true
},
"sourceType": "module"
},
"rules": {
"indent": "off",
"no-mixed-operators": "off",
"lines-between-class-members": "off",
"quotes": "off",
"react/jsx-filename-extension": "off",
"react/jsx-indent": "off",
"no-underscore-dangle": "off",
"react/jsx-indent-props": "off",
"react/destructuring-assignment": "off",
"prefer-template": "off",
"react/jsx-closing-bracket-location": "off",
"react/destructur": "off",
"brace-style": "off",
"semi": "off",
"react/jsx-one-expression-per-line": "off",
"max-len": "off",
"spaced-comment": "off",
"no-lonely-if": "off",
"arrow-parens": "off",
"arrow-body-style": "off",
"react/jsx-closing-tag-location": "off",
"react/jsx-fragments": "off",
"no-trailing-spaces": "off",
"import/no-cycle": "off",
"no-multi-spaces": "off",
"max-classes-per-file": "off",
"@typescript-eslint/no-var-requires": "off",
"class-methods-use-this": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-static-element-interactions": "off",
"jsx-a11y/anchor-is-valid": "off",
"import/no-extraneous-dependencies": "off",
"no-else-return": "off",
"prefer-destructuring": "off",
"no-continue": "off",
"no-param-reassign": "off",
"prefer-object-spread": "off",
"react/no-access-state-in-setstate": "off",
"no-nested-ternary": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"no-console": "off",
"@typescript-eslint/no-empty-function": "off",
"jsx-a11y/mouse-events-have-key-events": "off",
"react/static-property-placement": "off"
},
"parser": "@typescript-eslint/parser",
"extends": [
"airbnb",
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript"
],
"plugins": [
"react",
"@typescript-eslint",
"prettier",
"import"
],
"settings": {
"import/resolver": {
"node": {
"extensions": [
".js",
".jsx",
".ts",
".tsx"
]
}
},
"react": {
"pragma": "React",
"version": "detect"
}
}
}