This repository has been archived by the owner on Nov 4, 2022. It is now read-only.
forked from openrm/hato-logging
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
54 lines (50 loc) · 1.53 KB
/
.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"env": {
"node": true,
"mocha": true,
"es6": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 2019
},
"rules": {
"indent": ["error", 4],
"linebreak-style": ["error", "unix"],
"semi": ["error", "always"],
"no-cond-assign": ["error", "always"],
"require-atomic-updates": ["warn"],
"dot-location": ["error", "property"],
"eqeqeq": "error",
"no-extra-bind": "error",
"no-useless-call": "error",
"no-multi-spaces": "error",
"no-useless-return": "warn",
"camelcase": "error",
"comma-dangle": "error",
"comma-spacing": "error",
"comma-style": "error",
"computed-property-spacing": "error",
"eol-last": "error",
"key-spacing": "error",
"keyword-spacing": "error",
"no-lonely-if": "warn",
"no-trailing-spaces": "error",
"object-curly-spacing": ["error", "always"],
"operator-assignment": "warn",
"padded-blocks": ["error", { "blocks": "never" }],
"quotes": ["error", "single"],
"semi": "error",
"semi-style": "error",
"space-before-function-paren": ["error", "never"],
"spaced-comment": ["error", "always"],
"capitalized-comments": "off",
"lines-between-class-members": "off",
"arrow-body-style": "warn",
"arrow-spacing": "error",
"arrow-parens": "error"
},
"globals": {
"Promise": "readonly"
}
}