-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
61 lines (60 loc) · 2.31 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
{
"defaultSeverity": "error",
"rulesDirectory": [],
"jsRules": {},
"rules": {
"align": [true, "arguments", "elements", "members", "parameters", "statements"],
"array-type": [true, "array-simple"],
"arrow-return-shorthand": [true, "multiline"],
"await-promise": true,
"ban-types": false,
"callable-types": true,
"completed-docs": [true, "enums", "functions", "methods"],
"curly": true,
"eofline": true,
"indent": [true, "tabs", 4],
"interface-name": [true, "always-prefix"],
"interface-over-type-literal": true,
"jsdoc-format": [true, "check-multiline-start"],
"linebreak-style": [true, "LF"],
"member-access": [true, "check-accessor", "check-constructor", "check-parameter-property"],
"new-parens": true,
"no-angle-bracket-type-assertion": true,
"no-boolean-literal-compare": true,
"no-consecutive-blank-lines": false,
"no-console": false,
"no-duplicate-variable": [true, "check-parameters"],
"no-floating-promises": true,
"no-implicit-dependencies": true,
"no-inferred-empty-object-type": true,
"no-invalid-template-strings": true,
"no-irregular-whitespace": true,
"no-redundant-jsdoc": true,
"no-return-await": true,
"no-string-throw": true,
"no-unnecessary-qualifier": [true],
"no-var-requires": false,
"object-literal-key-quotes": [true, "as-needed"],
"object-literal-sort-keys": false,
"one-variable-per-declaration": [true, "ignore-for-loop"],
"prefer-readonly": true,
"prefer-template": [true, "allow-single-concat"],
"quotemark": [true, "single", "avoid-escape", "avoid-template"],
"semicolon": [true, "always"],
"space-within-parens": [true, 1],
"trailing-comma": [
true,
{
"multiline": {
"objects": "always",
"arrays": "always",
"functions": "never",
"typeLiterals": "ignore"
},
"singleline": "never"
}
],
"type-literal-delimiter": true,
"whitespace": [true, "check-branch", "check-operator", "check-typecast"]
}
}