-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
44 lines (44 loc) · 968 Bytes
/
.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
{
"env": {
"browser": true,
"amd": true,
"jquery": true,
"es6": true,
"node": true
},
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
},
"sourceType": "module"
},
"extends": ["prettier/react", "prettier/standard"],
"plugins": ["prettier", "react"],
"parser": "babel-eslint",
"rules": {
"prettier/prettier": 1,
"no-unused-vars": [0, { "vars": "all", "args": "after-used", "ignoreRestSiblings": false }],
// "semi": [2, "always"],
// "indent": [
// "error",
// 2,
// {
// "SwitchCase": 1,
// }
// ],
// "comma-dangle": [
// 1, "always-multiline"
// ],
"new-cap": "off",
"newline-after-var": "off",
"no-invalid-this": "off",
"quotes": ["error", "single", { "avoidEscape": true }],
"guard-for-in": "off",
"no-console": "off",
"no-undefined": "off",
"array-bracket-spacing": "off",
"no-unused-expressions": "off",
"linebreak-style": "off"
}
}