forked from asmarques/chai-bignumber
-
Notifications
You must be signed in to change notification settings - Fork 21
/
.eslintrc.json
34 lines (33 loc) · 949 Bytes
/
.eslintrc.json
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
{
"env": {
"es6": true,
"node": true,
"mocha": true
},
"extends": "eslint:recommended",
"plugins": [
"mocha-no-only"
],
"rules": {
"array-bracket-spacing": ["error"],
"camelcase": ["error"],
"computed-property-spacing": ["error"],
"curly": ["error"],
"eqeqeq": ["error"],
"indent": ["error", 2, {"SwitchCase": 1}],
"key-spacing": ["error"],
"linebreak-style": ["error", "unix"],
"no-console": "off",
"no-var": ["error"],
"no-whitespace-before-property": ["error"],
"object-curly-spacing": ["error"],
"quotes": ["error", "single"],
"semi": ["error", "always"],
"space-before-blocks": ["error"],
"space-before-function-paren": ["error", "always"],
"space-in-parens": ["error"],
"space-infix-ops": ["error", {"int32Hint": true}],
"space-unary-ops": ["error", {"words": true, "nonwords": false}],
"mocha-no-only/mocha-no-only": ["error"]
}
}