forked from palantir/tslint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
39 lines (38 loc) · 933 Bytes
/
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
{
"lintOptions": {
"typeCheck": true
},
"extends": "tslint:latest",
"rules": {
"ban": [true,
["describe", "only"],
["it", "only"]
],
"callable-types": true,
"interface-name": false,
"interface-over-type-literal": true,
"file-header": [true,
"Copyright \\d{4} Palantir Technologies, Inc."
],
"max-classes-per-file": false,
"max-line-length": [true, 140],
"member-ordering": [true,
"public-before-private",
"static-before-instance",
"variables-before-functions"
],
"no-angle-bracket-type-assertion": true,
"no-default-export": true,
"no-empty-interface": true,
"no-string-throw": true,
"no-switch-case-fall-through": true,
"prefer-const": true,
"switch-default": false,
"variable-name": [true,
"ban-keywords",
"check-format",
"allow-leading-underscore",
"allow-pascal-case"
]
}
}