forked from brochington/ecstatic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
77 lines (77 loc) · 2.34 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"parser": "@typescript-eslint/parser",
"plugins": ["import", "@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
],
"rules": {
"comma-dangle": [2, "always-multiline"],
"eol-last": 2,
"space-before-blocks": 2,
"space-infix-ops": [2, {"int32Hint": true}],
"keyword-spacing": [2, {"before": true, "after": true}],
"space-before-function-paren": 0,
"no-debugger": 0,
"no-dupe-args": 2,
"no-dupe-keys": 0,
"no-duplicate-case": 2,
"no-empty": 2,
"space-unary-ops": [1, { "words": true, "nonwords": false }],
"computed-property-spacing": [2, "never"],
"no-multi-spaces": 2,
"object-curly-spacing": [2, "always"],
"array-bracket-spacing": [2, "never"],
"block-spacing": [2, "always"],
"arrow-spacing": 2,
"comma-spacing": [2, {"before": false, "after": true}],
"no-trailing-spaces": [2, {"skipBlankLines": true}],
"no-empty-character-class": 2,
"no-ex-assign": 2,
"no-extra-boolean-cast": 0,
"no-extra-parens": 0,
"no-extra-semi": 2,
"no-spaced-func": 2,
"no-func-assign": 2,
"no-inner-declarations": 0,
"no-invalid-regexp": 2,
"no-irregular-whitespace": 2,
"no-negated-in-lhs": 2,
"no-obj-calls": 2,
"no-regex-spaces": 2,
"no-reserved-keys": 0,
"no-sparse-arrays": 2,
"use-isnan": 1,
"valid-jsdoc": 0,
"valid-typeof": 2,
"indent": [2, 2, {"SwitchCase": 1}],
"no-with": 1,
"radix": 0,
"vars-on-top": 0,
"wrap-iife": 1,
"yoda": [1, "never"],
"strict": 0,
"no-catch-shadow": 0,
"no-delete-var": 1,
"no-label-var": 1,
"no-shadow-restricted-names": 2,
"no-undef-init": 1,
"no-undef": 1,
"no-undefined": 1,
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
"@typescript-eslint/ban-ts-comment": 0
},
"env": {
"browser": true,
"mocha": true,
"node": true,
"es6": true
},
"globals": {
"expect": true,
"protractor": true,
"browser": true,
"sinon": true
}
}