-
Notifications
You must be signed in to change notification settings - Fork 4
/
tslint.json
56 lines (56 loc) · 1.9 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
{
"rules": {
"class-name": true,
"comment-format": true,
"completed-docs": false,
"curly": [true, "all"],
"indent": [true, "spaces", 4],
"interface-name": false,
"jsdoc-format": false,
"linebreak-style": [true, "LF"],
"max-classes-per-file": false,
"max-line-length": [true, 100],
"member-access": [true, "no-public"],
"member-ordering": [
true,
{
"order": [
"public-static-field",
"public-static-method",
"protected-static-field",
"protected-static-method",
"private-static-field",
"private-static-method",
"public-instance-field",
"protected-instance-field",
"private-instance-field",
"public-constructor",
"protected-constructor",
"private-constructor",
"public-instance-method",
"protected-instance-method",
"private-instance-method"
]
}
],
"no-unused-expression": true,
"no-duplicate-variable": true,
"no-implicit-dependencies": false,
"no-namespace": false,
"no-submodule-imports": false,
"no-trailing-whitespace": true,
"no-unused-variable": [true, {"ignore-pattern": "^_"}],
"no-var-keyword": true,
"object-literal-sort-keys": false,
"ordered-imports": true,
"semicolon": [true, "always", "ignore-bound-class-methods"],
"variable-name": false,
"no-this-assignment": [true, { "allow-destructuring": true }]
},
"extends": ["tslint:latest", "tslint-config-prettier"],
"linterOptions": {
"exclude": [
"**/*.json"
]
}
}