forked from ciena-blueplanet/beaker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
114 lines (114 loc) · 3.28 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"ecmaFeatures": {
"arrowFunctions": true,
"binaryLiterals": true,
"blockBindings": true,
"defaultParams": true,
"forOf": true,
"generators": true,
"globalReturn": true,
"jsx": true,
"objectLiteralComputedProperties": true,
"objectLiteralDuplicateProperties": true,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"octalLiterals": true,
"regexUFlag": true,
"regexYFlag": true,
"superInFunctions": true,
"templateStrings": true,
"unicodeCodePointEscapes": true
},
"env": {
"amd": true,
"browser": true,
"node": true
},
"rules": {
"brace-style": [
2,
"1tbs",
{ "allowSingleLine": false }
],
"camelcase": 2,
"consistent-return": 2,
"consistent-this": [2, "self"],
"complexity": [2, 5],
"curly": [2, "all"],
"dot-notation": 0,
"eqeqeq": [2, "allow-null"],
"guard-for-in": 2,
"indent": [2, "spaces", 4],
"key-spacing": [2, {
"beforeColon": false,
"afterColon": true
}],
"max-depth": [2, 3],
"max-len": [2, 120],
"max-params": [2, 5],
"max-nested-callbacks": [2, 3],
"max-statements": [2, 50],
"new-cap": 2,
"no-bitwise": 2,
"no-caller": 2,
"no-comma-dangle": 0,
"no-empty": 2,
"no-extend-native": 2,
"no-floating-decimal": 2,
"no-lone-blocks": 2,
"no-loop-func": 2,
"no-multi-str": 2,
"no-native-reassign": 2,
"no-new": 2,
"no-new-wrappers": 2,
"no-space-before-semi": 2,
"no-trailing-spaces": 2,
"no-unused-vars": [2, {"vars": "all", "args": "after-used"}],
"no-undef": 2,
"no-underscore-dangle": 0,
"no-use-before-define": 2,
"quotes": [2, "single"],
"strict": 2,
"space-after-keywords": [2, "always"],
"space-before-function-parentheses": [
2,
{
"anonymous": "always",
"named": "never"
}
],
"space-in-brackets": [2, "never"],
"space-infix-ops": 2,
"space-unary-ops": 2,
"valid-jsdoc": [
2,
{
"prefer": {
"virtual": "abstract",
"extends": "augments",
"constructor": "class",
"const": "constant",
"defaultvalue": "default",
"desc": "description",
"host": "external",
"fileoverview": "file",
"overview": "file",
"emits": "fires",
"func": "function",
"method": "function",
"var": "member",
"arg": "param",
"argument": "param",
"return": "returns",
"exception": "throws"
},
"requireReturn": false
}
],
"wrap-iife": [2, "outside"]
},
"settings": {
"ecmascript": 6,
"jsx": true
}
}