forked from Hopding/pdf-lib
-
Notifications
You must be signed in to change notification settings - Fork 8
/
tslint.json
43 lines (43 loc) · 1.11 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
{
"extends": ["tslint:recommended", "tslint-config-prettier"],
"rules": {
"only-arrow-functions": true,
"arrow-return-shorthand": [true, "multiline"],
"curly": [true, "ignore-same-line"],
"import-blacklist": [true, "lodash"],
"max-line-length": false,
"member-access": [true, "no-public"],
"no-console": false,
"no-empty-interface": false,
"prefer-for-of": false,
"object-literal-sort-keys": false,
"interface-name": false,
"no-bitwise": false,
"quotemark": [true, "single"],
"semicolon": [true, "always", "ignore-bound-class-methods"],
"ban": [
true,
["Object", "values"],
["Object", "entries"],
{
"name": ["*", "toHaveLength"],
"message": "expect(...).toHaveLength(...) can stall when the assertion fails"
}
],
"trailing-comma": [
true,
{
"esSpecCompliant": true,
"multiline": { "functions": "ignore" }
}
],
"variable-name": {
"options": [
"ban-keywords",
"check-format",
"allow-pascal-case",
"allow-leading-underscore"
]
}
}
}