This repository has been archived by the owner on Mar 5, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 91
/
.eslintrc
75 lines (69 loc) · 1.73 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
{
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"arrowFunctions": true,
"blockBindings": true,
"defaultParams": true,
"destructuring": true,
"forOf": true,
"spread": true,
"templateStrings": true
},
},
"rules" : {
"valid-jsdoc": [1],
"curly": [2],
"dot-notation": [2],
"eqeqeq": [2],
"guard-for-in": [2],
"no-div-regex": [2],
"no-eval": [2],
"no-extend-native": [2],
"no-floating-decimal": [2],
"no-implied-eval": [2],
"no-labels": [2],
"no-lone-blocks": [2],
"no-loop-func": [2],
"no-multi-spaces": [2],
"no-native-reassign": [2],
"no-new-wrappers": [2],
"no-new": [2],
"no-redeclare": [2],
"no-return-assign": [2],
"no-self-compare": [2],
"radix": [2],
"wrap-iife": [2, "inside"],
"yoda": [2, "never"],
"strict": [2, "global"],
"no-shadow": [2],
"no-use-before-define": [2],
"block-spacing": [2, "always"],
"brace-style": [2, "1tbs", allowSingleLine: true],
"comma-style": [2, "last"],
"consistent-this": [2, "self"],
"eol-last": [2],
"indent": [2, 2, {"VariableDeclarator": { "var": 2, "let": 2, "const": 3}}],
"linebreak-style": [2, "unix"],
"newline-after-var": [2],
"no-lonely-if": [2],
"no-trailing-spaces": [2],
"no-unneeded-ternary": [2],
"spaced-comment": [2, "always"],
//"quotes": [2, "backtick"],
"semi": [2, "always"],
"wrap-regex": [2],
//"prefer-arrow-callback": [1]
"no-console": [0]
},
"extends": [
// "./node_modules/mofo-style/.eslintrc.yaml"
//"eslint:recommended"
],
"env": {
"browser": true,
"node": true
}
}