-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.eslintrc
More file actions
38 lines (38 loc) · 880 Bytes
/
Copy path.eslintrc
File metadata and controls
38 lines (38 loc) · 880 Bytes
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
{
"extends": [
"xo/browser",
"xo",
"xo/esnext"
],
"env": {
"browser": true,
"node": true
},
"plugins": [
"babel"
],
"parser": "babel-eslint",
"rules": {
"arrow-parens": ["error", "always"],
"camelcase": 1,
"capitalized-comments": 0,
"indent": ["error", 4, {"SwitchCase": 1}],
"key-spacing": 0,
"lines-between-class-members": ["error", "always", { "exceptAfterSingleLine": true }],
"max-nested-callbacks": 0,
"new-cap": 0,
"no-console": 0,
"no-await-in-loop": 0,
"no-lonely-if": 0,
"no-multi-spaces": 0,
"no-restricted-imports": 0,
"no-restricted-modules": 0,
"no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
"no-undef": 0,
"no-case-declarations": 0,
"no-else-return": 0,
"object-shorthand": 0,
"prefer-arrow-callback": 0,
"valid-jsdoc": 2
}
}