/
tslint.json
executable file
·49 lines (49 loc) · 1.04 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
{
"extends": [
"tslint:recommended"
],
"rules": {
// These can be ignored, I started a PR to fix them in schemastore but damn, it was a timesink with no obvious end
"completed-docs": [
true,
{
"functions": {
"visibilities" : ["exported"]
},
"methods": {
"visibilities" : ["exported"]
}
}
],
"no-console": [
false
],
"arrow-parens": false,
"interface-name": [
true,
"never-prefix"
],
"max-classes-per-file": [
false
],
"member-access": [
false,
"check-accessor",
"check-constructor"
],
// Disabled till there’s an auto-fixer for this.
// https://github.com/palantir/tslint/blob/master/src/rules/objectLiteralSortKeysRule.ts
"object-literal-sort-keys": false,
"semicolon": [
true,
"never",
"ignore-interfaces",
"ignore-bound-class-methods"
],
"switch-default": false,
"trailing-comma": [
false
],
"no-namespace": [false]
}
}