forked from spamguy/dipl.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
33 lines (33 loc) · 923 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
{
"globals": {
"angular": true,
"inject": true,
"_": true,
"d3": true,
"expect": true,
"sinon": true,
"$": true,
"Promise": true,
"pluralize": true,
"Modernizr": true,
"moment": true,
"humanizeDuration": true
},
"extends": "semistandard",
"env": {
"mocha": true,
"browser": true,
"es6": false
},
"rules": {
"indent": ["error", 4, { "MemberExpression": 0 }],
"space-before-function-paren": [2, "never"],
"one-var": [2, "always"],
"brace-style": [2, "stroustrup", { "allowSingleLine": true }],
"curly": [2, "multi-or-nest", "consistent"],
"dot-location": ["error", "property"],
"no-unneeded-ternary": ["error", { "defaultAssignment": false }],
"max-nested-callbacks": ["error", 3]
},
"plugins": ["promise"]
}