-
Notifications
You must be signed in to change notification settings - Fork 1
/
tslint.json
49 lines (48 loc) · 1.59 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
{
"defaultSeverity": "error",
"extends": [
"tslint:latest"
],
"jsRules": {},
"rules": {
"array-type": [true, "array"],
"interface-name": [true, "never-prefix"],
"max-classes-per-file": false,
"member-access": [true, "no-public"],
"no-bitwise": false,
"no-consecutive-blank-lines": [true, 2],
"no-console": [true, "log", "warn", "error"],
"no-default-export": true,
"no-implicit-dependencies": [
true,
["ava"] // "ava" is a test runner, and therefore not in "dependencies"
],
"no-this-assignment": [true, { "allow-destructuring": true }],
"object-literal-key-quotes": [true, "as-needed"],
"object-literal-sort-keys": false,
"ordered-imports": false,
// Disabled "typedef" features here would be useful if the
// lint knew whether types can be inferred from context for
// the specific case or not, but since it doesn't it just
// creates a ton of pedantic false positives.
"typedef": [
true,
"call-signature",
// "arrow-call-signature",
"parameter",
// "arrow-parameter",
"property-declaration",
// "variable-declaration",
"member-variable-declaration"
// "object-destructuring",
// "array-destructuring"
],
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-leading-underscore"
]
},
"rulesDirectory": []
}