-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
63 lines (60 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
55
56
57
58
59
60
61
62
63
{
/* "settings": {
"jsdoc": {
"tagNamePreference": {
"param": "param",
"returns": ["returns", "return"],
"description":"desc"
}
}
},*/
"env": {
"es2021": true,
"es6": true,
"es2020": true,
"browser": true,
"jest": true
},
"parserOptions": {
"requireConfigFile": false,
"ecmaVersion": 2020,
"sourceType": "module"
},
"rules": {
"arrow-parens": [2, "always"],
"comma-spacing": 0,
"curly": [2, "multi-line"],
"jsx-quotes": [1, "prefer-single"],
"key-spacing": 0,
"no-multi-spaces": 0,
"no-console": 0,
"no-empty": 1,
"no-undef": 2,
"no-use-before-define": 0,
"no-unused-vars": 1,
"object-shorthand": 1,
"prefer-const": 1,
"prefer-spread": 1,
"prefer-reflect": 1,
"prefer-template": 0,
"semi": [2, "always"],
"space-infix-ops": 0,
"quotes": [2, "single", "avoid-escape"],
"eqeqeq": 1,
//"valid-jsdoc": [2, { "requireReturn" : false, "requireParamDescription": false, "requireReturnDescription": false}]
//jsdoc rules
// "react/display-name": 1,
// "react/forbid-prop-types": 1,
// "react/jsx-closing-bracket-location": 1,
// "react/jsx-curly-spacing": 1,
// "react/jsx-indent-props": 1,
// "react/jsx-max-props-per-line": 1,
// "react/jsx-no-literals": 1,
// "react/jsx-sort-prop-types": 1,
// "react/jsx-sort-props": 1,
// "react/no-multi-comp": 1,
// "react/no-set-state": 1,
// "react/require-extension": 1,
// "react/sort-comp": 1,
}
}