forked from hex-ci/resource-uploader
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
50 lines (50 loc) · 1.32 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
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"env": {
"node": true,
"es6": true,
"jasmine": true,
"atomtest": true
},
"extends": "eslint:recommended",
"rules": {
"indent": ["warn", 2, {"SwitchCase": 1}],
"no-console": "off",
"brace-style": [1, "stroustrup", {"allowSingleLine": true}],
"comma-style": [1, "last"],
"default-case": 2,
"no-floating-decimal": 2,
"space-before-function-paren": [1, "never"],
"keyword-spacing": [2, {"after": true}],
"space-before-blocks": 1,
"wrap-iife": [2, "any"],
"no-alert": 2,
"curly": [2, "all"],
"no-empty": [2, {"allowEmptyCatch": true}],
"no-obj-calls": 2,
"no-unused-vars": [1, {"vars": "local", "args": "after-used"}],
"no-invalid-regexp": 2,
"comma-dangle": [1, "never"],
"no-undef": 2,
"no-new": 2,
"no-extra-semi": 0,
"no-debugger": 2,
"no-caller": 1,
"no-unreachable": 2,
"no-multi-str": 1,
"no-mixed-spaces-and-tabs": 1,
"no-trailing-spaces": 1,
"space-infix-ops": 1,
"no-with": 2,
"dot-notation": 1,
"semi-spacing": 1,
"key-spacing": [1, {"beforeColon": false, "afterColon": true, "mode": "minimum"}],
"space-in-parens": [1, "never"],
"prefer-const": 2,
"no-control-regex": 0
}
}