forked from Taracque/cordova-plugin-braintree
-
Notifications
You must be signed in to change notification settings - Fork 11
/
.eslintrc
32 lines (32 loc) · 927 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
{
"extends": "eslint:recommended",
"env": {
"es6": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 2015,
"ecmaFeatures": {
"classes": true,
"spread": true,
"experimentalObjectRestSpread": true
}
},
"plugins": [
],
"rules": {
"no-debugger": 2,
"object-curly-spacing": [2, "always"],
"strict": 0,
"indent": [ "error", 2 ],
"quotes": [ "error", "single", "avoid-escape" ],
"semi": [ "error", "always" ],
"space-before-function-paren": ["error", {"anonymous": "always", "named": "never", "asyncArrow": "always"}],
"keyword-spacing": [2, {"before": true, "after": true}],
"space-infix-ops": 2,
"spaced-comment": [2, "always"],
"comma-dangle": ["error", "always-multiline"],
"arrow-spacing": 2,
"max-len": ["error", 140, 2, { "ignoreComments": true }]
}
}