-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
50 lines (50 loc) · 1.64 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
{
"rules": {
"adjacent-overload-signatures": true,
"arrow-return-shorthand": { "severity": "warning" },
"class-name": true,
"interface-name": { "severity": "error" },
"semicolon": [true, "always", "strict-bound-class-methods"],
"deprecation": true,
"indent": { "options": "spaces" },
"member-access": true,
"newline-before-return": true,
"no-conditional-assignment": { "severity": "error" },
"no-construct": true,
"no-duplicate-super": true,
"no-eval": true,
"no-invalid-template-strings": true,
"no-magic-numbers": { "severity": "error" },
"no-parameter-reassignment": { "severity": "error" },
"no-redundant-jsdoc": true,
"no-return-await": true,
"no-string-literal": true,
"no-string-throw": { "severity": "error" },
"no-unbound-method": false,
"no-unnecessary-callback-wrapper": { "severity": "warning" },
"no-unsafe-finally": true,
"no-var-requires": true,
"number-literal-format": true,
"prefer-object-spread": true,
"prefer-template": true,
"quotemark": { "options": "single" },
"return-undefined": true,
"space-before-function-paren": [true, { "anonymous": "always", "named": "never", "asyncArrow": "always" }],
"switch-default": { "severity": "error" },
"type-literal-delimiter": true,
"use-default-type-parameter": { "severity": "warning" },
"use-isnan": { "severity": "error" },
"trailing-comma": [
true,
{
"multiline": {
"typeLiterals": "always",
"objects": "always",
"arrays": "never",
"functions": "never"
},
"esSpecCompliant": true
}
]
}
}