-
Notifications
You must be signed in to change notification settings - Fork 2
/
tslint.json
45 lines (45 loc) · 1.49 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
{
"extends": ["tslint:latest", "tslint-config-prettier"],
"rules": {
"interface-name": [true, "always-prefix"],
// TODO: allow devDependencies only in **/*.spec.ts files:
// waiting on https://github.com/palantir/tslint/pull/3708
"no-implicit-dependencies": false,
/* tslint-immutable rules */
// Recommended built-in rules
"no-var-keyword": true,
"no-parameter-reassignment": false,
"no-namespace": false,
// Explicit typing is necessary because the types will be specified at
// build time anyway and, as found in issue #47, they will be built
// incorrectly sometimes unless they are specified.
"typedef": [true, "call-signature", "member-variable-declaration"],
/* end tslint-immutable rules */
"object-literal-sort-keys": false,
"max-classes-per-file": false,
"no-submodule-imports": [true, "@rschedule/serializers"],
"member-access": [true, "no-public"],
"curly": [true, "ignore-same-line"],
"array-type": false,
"variable-name": false,
"jsdoc-format": false,
"unified-signatures": false,
"prefer-object-spread": false,
// "explicit-function-return-type": true,
"trailing-comma": [
true,
{
"singleline": "never",
"multiline": {
"arrays": "always",
"objects": "always",
"functions": "always",
"imports": "always",
"exports": "always",
"typeLiterals": "always"
},
"esSpecCompliant": true
}
]
}
}