forked from openam/bootstrap-responsive-tabs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
82 lines (76 loc) · 2.34 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
{
"env" : {
"node" : true,
"browser" : true,
"amd" : true,
"mocha" : true
},
"rules": {
// Best Practices
"complexity" : [ 1, 10 ],
"consistent-return" : true,
"curly" : true,
"dot-notation" : true,
"eqeqeq" : true,
"no-else-return" : true,
"no-eq-null" : true,
"no-eval" : true,
"no-extend-native" : true,
"no-floating-decimal" : true,
"no-implied-eval" : true,
"no-labels" : true,
"no-lone-blocks" : true,
"no-loop-func" : true,
"no-native-reassign" : true,
"no-new" : true,
"no-new-func" : true,
"no-proto" : true,
"no-redeclare" : true,
"no-return-assign" : true,
"no-script-url" : true,
"no-self-compare" : true,
"no-unused-expressions" : true,
"no-with" : true,
"no-yoda" : true,
// Strict Mode
"no-extra-strict" : true,
"strict" : true,
// Variables
"no-catch-shadow" : true,
"no-shadow" : true,
"no-shadow-restricted-names" : true,
"no-undef" : true,
"no-undef-init" : true,
"no-unused-vars" : false,
"no-use-before-define" : true,
// Node.js
"handle-callback-err" : true,
"no-mixed-requires" : true,
"no-path-concat" : true,
"no-process-exit" : true,
// Stylistic Issues
"brace-style" : "1tbs",
"camelcase" : true,
"consistent-this" : [ 0, "self" ],
"func-names" : true,
"new-cap" : true,
"new-parens" : true,
"no-nested-ternary" : true,
"no-array-constructor" : true,
"no-new-object" : true,
"no-spaced-func" : true,
"no-space-before-semi" : true,
"no-ternary" : true,
"no-underscore-dangle" : true,
"no-wrap-func" : true,
"quotes" : [ 2, "single", "avoid-escape" ],
"quote-props" : true,
"semi" : true,
"space-in-brackets" : [ 1, "always" ],
"space-infix-ops" : true,
"space-return-throw-case" : true,
"space-unary-word-ops" : true,
"max-nested-callbacks" : [ 1, 4 ],
"one-var" : false
}
}