forked from OpenGeoscience/geojs
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc
37 lines (37 loc) · 1.04 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
{
"extends": "semistandard",
"rules": {
"camelcase": "off",
"indent": ["error", 2, {
"CallExpression": {"arguments": "first"},
"MemberExpression": "off",
"SwitchCase": 1,
"VariableDeclarator": 2
}],
"key-spacing": "off",
"multiline-ternary": "off",
"new-cap": "off",
"no-loss-of-precision": "off",
"no-multi-spaces": "off",
"no-prototype-builtins": "off",
"no-throw-literal": "off",
"no-unneeded-ternary": "off",
"no-useless-call": "off",
"no-var": "off",
"object-curly-spacing": "off",
"object-curly-newline": "off",
"object-shorthand": "off",
"one-var": "off",
"operator-linebreak": "off",
"padded-blocks": "off",
"space-before-function-paren": ["error", {"anonymous": "always", "named": "never"}],
"spaced-comment": "off",
"yoda": "off"
},
"env": {
"browser": true
},
"globals": {
"sinon": true
}
}