-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtslint.json
81 lines (81 loc) · 1.82 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
78
79
80
81
{
"rules": {
"angular-whitespace": [
true,
"check-pipe",
"check-semicolon"
],
"banana-in-box": true,
"callable-types": true,
"comment-format": [
true,
"check-space",
"singleline"
],
"component-selector": [
true,
"element",
"kebab-case"
],
"directive-selector": [
true,
"attribute",
"camelCase"
],
"import-destructuring-spacing": true,
"import-spacing": true,
"indent": [
true,
2,
"spaces"
],
"no-attribute-parameter-decorator": true,
"no-consecutive-blank-lines": true,
"no-debugger": true,
"no-duplicate-imports": true,
"no-duplicate-variable": true,
"no-eval": true,
"no-forward-ref": true,
"no-input-rename": true,
"no-misused-new": true,
"no-multi-spaces": true,
"no-output-rename": true,
"no-trailing-whitespace": true,
"no-unnecessary-initializer": true,
"no-unused-expression": true,
"no-unused-variable": [
true,
{
"ignore-pattern": "([A-Z][A-Z_]+|[A-Z][a-z]+|[M])"
}
],
"no-var-keyword": true,
"templates-no-negated-async": true,
"trailing-comma": [
true,
{
"multiline": "never",
"singleline": "never"
}
],
"use-host-property-decorator": true,
"use-input-property-decorator": true,
"use-life-cycle-interface": true,
"use-output-property-decorator": true,
"use-pipe-transform-interface": true,
"use-view-encapsulation": true,
"variable-name": [
true,
"allow-leading-underscore",
"allow-pascal-case",
"allow-snake-case",
"allow-trailing-underscore",
"ban-keywords",
"check-format"
]
},
"rulesDirectory": [
"node_modules/codelyzer",
"node_modules/tslint-eslint-rules/dist/rules"
]
}