forked from stefanpenner/es6-promise
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
31 lines (28 loc) · 886 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
{
"extends": "ember",
"parser": "babel-eslint",
"ecmaFeatures": {
modules: true,
blockBindings: true,
arrowFunctions: true,
objectLiteralShorthandMethods: true,
objectLiteralShorthandProperties: true,
templateStrings: true
},
"rules": {
"indent": [ 2, "tab", { "SwitchCase": 1 } ],
"object-shorthand": [ 2, "always" ],
"prefer-const": 0,
"comma-dangle": 0,
"spaced-comment": 1,
"object-curly-spacing": [2, "always"],
"arrow-spacing": [ 1, { before: true, after: true } ],
"array-bracket-spacing": [ 2, "always" ],
"no-restricted-syntax": 0,
"no-warning-comments": [ 0, { "terms": [ "todo", "fixme", "xxx" ], "location": "start" } ],
"no-ternary": 0,
"no-nested-ternary": 2,
"brace-style": [ 2, "stroustrup" ],
"no-else-return": 0
}
}