-
Notifications
You must be signed in to change notification settings - Fork 5
/
tslint.json
40 lines (40 loc) · 1.49 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
{
"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,
// "newline-per-chained-call": true,
"no-conditional-assignment": true,
"no-construct": true,
"no-duplicate-super": true,
"no-eval": true,
// "no-implicit-dependencies": true,
"no-invalid-template-strings": true,
"no-magic-numbers": true,
"no-parameter-reassignment": true, // See https://eslint.org/docs/rules/no-param-reassign
"no-redundant-jsdoc": true,
"no-return-await": true,
"no-string-literal": true,
"no-string-throw": true,
"no-unbound-method": { "severity": "warning" },
"no-unnecessary-callback-wrapper": { "severity": "warning" },
"no-unsafe-finally": true,
"number-literal-format": true,
// "prefer-function-over-method": { "severity": "warning" },
"prefer-object-spread": true,
// "promise-function-async": true,
"quotemark": { "options": "single" },
"return-undefined": true,
"space-before-function-paren": [true, { "anonymous": "always", "named": "never", "asyncArrow": "always" }],
"switch-default": true,
"type-literal-delimiter": true,
"use-default-type-parameter": { "severity": "warning" },
"use-isnan": true
}
}