forked from dobby5/nuts
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc
37 lines (37 loc) · 994 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
34
35
36
37
{
"extends": ["standard", "plugin:mocha/recommended"],
"env": {
"es6": true,
"node": true,
"mocha": true
},
"plugins": [
"mocha"
],
"globals": {
"window": "readonly",
"fetch": "readonly",
"document": "readonly"
},
"rules": {
"semi": ["error", "always"],
"indent": ["error", 4],
"eqeqeq": "off",
"no-unused-vars": 1,
"quotes": ["error", "single"],
"object-curly-spacing": ["warn", "always"],
"comma-dangle": ["warn", "never"],
"mocha/member-expression": 0,
"spaced-comment": ["error", "never", { "markers": ["/"] }],
"no-console": ["warn", { "allow": ["warn", "error"]}],
"new-cap": ["error", { "newIsCap": false, "capIsNew": false }],
"no-control-regex": 0,
"no-tabs": ["error", { allowIndentationTabs: true }],
"no-mixed-spaces-and-tabs": [2, "smart-tabs"],
"space-before-function-paren": ["error", {
"anonymous": "always",
"named": "never",
"asyncArrow": "never"
}]
}
}