-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtslint.json
90 lines (90 loc) · 2.12 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
82
83
84
85
86
87
88
89
90
{
"defaultSeverity": "warning",
"rulesDirectory": [
"tslint",
"tslint-react",
"tslint-config-prettier",
"tslint-plugin-prettier"
],
"rules": {
"linebreak-style": [
true,
"LF"
],
"no-console": [
true,
"log",
"warn"
],
"no-invalid-this": [
true,
"check-function-in-method"
],
"ban": [
[
"_",
"extend",
"use object spread"
],
[
"_",
"isNull",
"use plain JS"
],
[
"_",
"isDefined",
"use plain JS"
],
[
"assert",
"equal",
"use assert.strictEqual instead"
],
[
"describe",
"only",
"should not be committed to repo"
],
[
"it",
"only",
"should not be committed to repo"
],
[
"Object",
"assign",
"use object spread"
],
[
"Object",
"getOwnPropertyNames",
"use Object.keys()"
],
[
"test",
"only",
"should not be committed to repo"
]
],
"no-default-export": true,
"no-unnecessary-callback-wrapper": true,
"no-unnecessary-initializer": true,
"prettier": {
"options": [{
"printWidth": 120,
"tabWidth": 4,
"trailingComma": "all"
}]
},
"variable-name": [
"allow-leading-underscore",
"allow-pascal-case",
"ban-keywords",
"check-format"
],
"no-empty-interface": false,
"object-literal-sort-keys": false,
"no-implicit-dependencies": true
}
}