Skip to content

Commit 809400a

Browse files
committedSep 7, 2017
tslint
1 parent 68badcd commit 809400a

File tree

1 file changed

+139
-0
lines changed

1 file changed

+139
-0
lines changed
 

‎tslint.json

+139
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
{
2+
"rules": {
3+
"arrow-return-shorthand": true,
4+
"callable-types": true,
5+
"class-name": true,
6+
"comment-format": [
7+
true,
8+
"check-space"
9+
],
10+
"curly": true,
11+
"eofline": true,
12+
"forin": true,
13+
"import-blacklist": [
14+
true,
15+
"rxjs"
16+
],
17+
"import-spacing": true,
18+
"indent": [
19+
true,
20+
"spaces"
21+
],
22+
"interface-over-type-literal": true,
23+
"label-position": true,
24+
"max-line-length": [
25+
true,
26+
140
27+
],
28+
"member-access": false,
29+
"member-ordering": [
30+
true,
31+
{
32+
"order": [
33+
"static-field",
34+
"instance-field",
35+
"static-method",
36+
"instance-method"
37+
]
38+
}
39+
],
40+
"no-arg": true,
41+
"no-bitwise": true,
42+
"no-console": [
43+
true,
44+
"debug",
45+
"info",
46+
"time",
47+
"timeEnd",
48+
"trace"
49+
],
50+
"no-construct": true,
51+
"no-debugger": true,
52+
"no-duplicate-super": true,
53+
"no-empty": false,
54+
"no-empty-interface": true,
55+
"no-eval": true,
56+
"no-inferrable-types": [
57+
true,
58+
"ignore-params"
59+
],
60+
"no-misused-new": true,
61+
"no-non-null-assertion": true,
62+
"no-shadowed-variable": true,
63+
"no-string-literal": false,
64+
"no-string-throw": true,
65+
"no-switch-case-fall-through": true,
66+
"no-trailing-whitespace": true,
67+
"no-unnecessary-initializer": true,
68+
"no-unused-expression": true,
69+
"no-use-before-declare": true,
70+
"no-var-keyword": true,
71+
"object-literal-sort-keys": false,
72+
"one-line": [
73+
true,
74+
"check-open-brace",
75+
"check-catch",
76+
"check-else",
77+
"check-whitespace"
78+
],
79+
"prefer-const": true,
80+
"quotemark": [
81+
true,
82+
"single"
83+
],
84+
"radix": true,
85+
"semicolon": [
86+
true,
87+
"always"
88+
],
89+
"triple-equals": [
90+
true,
91+
"allow-null-check"
92+
],
93+
"typedef-whitespace": [
94+
true,
95+
{
96+
"call-signature": "nospace",
97+
"index-signature": "nospace",
98+
"parameter": "nospace",
99+
"property-declaration": "nospace",
100+
"variable-declaration": "nospace"
101+
}
102+
],
103+
"typeof-compare": true,
104+
"unified-signatures": true,
105+
"variable-name": false,
106+
"whitespace": [
107+
true,
108+
"check-branch",
109+
"check-decl",
110+
"check-operator",
111+
"check-separator",
112+
"check-type"
113+
],
114+
"directive-selector": [
115+
true,
116+
"attribute",
117+
"app",
118+
"camelCase"
119+
],
120+
"component-selector": [
121+
true,
122+
"element",
123+
"app",
124+
"kebab-case"
125+
],
126+
"use-input-property-decorator": true,
127+
"use-output-property-decorator": true,
128+
"use-host-property-decorator": true,
129+
"no-input-rename": true,
130+
"no-output-rename": true,
131+
"use-life-cycle-interface": true,
132+
"use-pipe-transform-interface": true,
133+
"component-class-suffix": true,
134+
"directive-class-suffix": true,
135+
"no-access-missing-member": true,
136+
"templates-use-public": true,
137+
"invoke-injectable": true
138+
}
139+
}

0 commit comments

Comments
 (0)
Please sign in to comment.