This repository has been archived by the owner on Dec 2, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
tslint.json
77 lines (77 loc) · 2.89 KB
/
tslint.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"rules": {
"adjacent-overload-signatures": true,
"array-type": [ true, "array-simple" ],
"arrow-return-shorthand": true,
"await-promise": [ true, "Promise", "Bluebird", "PromiseLike" ],
"brace-style": [ true, "1tbs", { "allowSingleLine": true } ],
"class-name": true,
"comment-format": [ true, "check-space" ],
"curly": true,
"deprecation": true,
"handle-callback-err": true,
"indent": true,
"interface-name": true,
"no-arg": true,
"no-console": true,
"no-consecutive-blank-lines": [ true, 2 ],
"no-constant-condition": true,
"no-debugger": true,
"no-duplicate-variable": true,
"no-empty": true,
"no-empty-interface": true,
"no-eval": true,
"no-extra-boolean-cast": true,
"no-extra-semi": true,
"no-for-in-array": true,
"no-inner-declarations": true,
"no-invalid-template-strings": true,
"no-multi-spaces": true,
"no-redundant-jsdoc": true,
"no-regex-spaces": true,
"no-return-await": true,
"no-string-throw": true,
"no-this-assignment": [ true, { "allow-destructuring": true } ],
"no-unnecessary-type-assertion": true,
"no-unnecessary-callback-wrapper": true,
"no-unused-expression": [ true, "allow-fast-null-checks" ],
"no-unused-variable": [ true, {} ],
"no-var-keyword": true,
"no-var-requires": true,
"object-curly-spacing": true,
"prefer-const": true,
"prefer-for-of": true,
"prefer-method-signature": true,
"prefer-object-spread": true,
"prefer-readonly": true,
"prefer-template": true,
"quotemark": [ true, "double" ],
"radix": true,
"semicolon": [ true, "always" ],
"space-before-function-paren": [ true, {
"anonymous": "always",
"named": "never",
"asyncArrow": "always",
"method": "never",
"constructor": "never"
}
],
"space-within-parens": true,
"switch-final-break": false,
"ter-computed-property-spacing": true,
"ter-prefer-arrow-callback": true,
"triple-equals": [ true, "allow-null-check" ],
"unified-signatures": true,
"use-isnan": true,
"variable-name": [ true, "ban-keywords", "check-format", "allow-leading-underscore", "allow-snake-case" ],
"whitespace": [ true, "check-branch", "check-module", "check-separator", "check-type", "check-typecast", "check-type-operator", "check-preblock", "check-operator", "check-decl", "check-branch" ],
"no-var-before-return": true,
"no-as-type-assertion": true,
"early-exit": true
},
"extends": [
"tslint-eslint-rules",
"tslint-consistent-codestyle"
],
"defaultSeverity": "error"
}