forked from panzerdp/voca
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
33 lines (32 loc) · 930 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
{
"parser": "babel-eslint",
"extends": "eslint:recommended",
"env": {
"node": true,
"mocha": true,
"browser": true
},
"plugins": [
],
"rules": {
"valid-jsdoc": "error",
"indent": ["error", 2, {"SwitchCase": 1}],
"brace-style": ["error", "1tbs"],
"camelcase": ["error", {"properties": "never"}],
"comma-spacing": ["error", {"before": false, "after": true}],
"comma-style": ["error", "last"],
"space-before-blocks": ["error", { "functions": "always", "keywords": "always", "classes": "always" }],
"semi": ["error", "always"],
"no-undef": "error",
"no-var": "error",
"prefer-const": "error",
"no-const-assign": "error",
"one-var": ["error", "never"],
"sort-imports": ["error", {
"ignoreCase": true,
"ignoreMemberSort": false,
"memberSyntaxSortOrder": ["none", "all", "multiple", "single"]
}],
"no-control-regex": "off"
}
}