-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
63 lines (62 loc) · 2.13 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
{
"defaultSeverity": "error",
"extends": [
"tslint-config-standard",
"tslint-config-prettier"
],
"jsRules": {},
"rules": {
"align": [true, "parameters", "statements"],
"array-type": [true, "array-simple"],
"await-promise": true,
"ban-types": false,
"completed-docs": [
true,
{
"enums": true,
"functions": true,
"methods": {"privacies": ["public", "protected"]},
"properties": {"privacies": ["public", "protected"]},
"classes": true,
"namespaces": true
}
],
"deprecation": true,
"eofline": true,
"indent": [true, "tabs", 4],
"interface-name": false,
"jsdoc-format": [true, "check-multiline-start"],
"linebreak-style": [true, "LF"],
"member-access": [true, "check-accessor", "check-constructor", "check-parameter-property"],
"new-parens": true,
"no-consecutive-blank-lines": false,
"no-console": false,
"no-unused-variable": true,
"no-redundant-jsdoc": 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"]
},
"rulesDirectory": []
}