-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
59 lines (59 loc) · 1.37 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
{
"includes": ["app/**/*.ts"],
"extends": [
"tslint:recommended",
"tslint-config-airbnb",
"tslint-plugin-prettier",
"tslint-config-prettier"
],
"exludes": ["dist"],
"rules": {
"interface-name": [true, "never-prefix"],
"max-line-length": {
"options": [100]
},
"no-boolean-literal-compare": false,
"no-consecutive-blank-lines": true,
"quotemark": [true, "single"],
"arrow-return-shorthand": true,
"import-name": false,
"member-ordering": [
true,
{
"order": [
"static-field",
"instance-field",
"constructor",
"public-instance-method",
"protected-instance-method",
"private-instance-method"
]
}
],
"no-invalid-this": true,
"no-unused-variable": false,
"no-trailing-whitespace": true,
"object-literal-sort-keys": [true, "ignore-case"],
"object-shorthand-properties-first": false,
"one-line": [true, "check-open-brace"],
"ordered-imports": true,
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-pascal-case",
"allow-leading-underscore"
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-module",
"check-separator",
"check-type",
"check-typecast",
"check-preblock"
]
}
}