-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtslint.json
37 lines (37 loc) · 1.26 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
{
"extends": ["tslint:recommended", "tslint-config-prettier"],
"rules": {
"arrow-parens": [true, "ban-single-arg-parens"],
"cyclomatic-complexity": true,
"indent": [true, "spaces", 2],
"interface-name": [true, "never-prefix"],
"member-ordering": [
true,
{
"order": [
"instance-field",
"static-field",
"constructor",
"public-instance-method",
"public-static-method",
"private-instance-method",
"private-static-method"
]
}
],
"no-console": [true, "log"],
"no-implicit-dependencies": [true, "dev"],
"no-parameter-reassignment": true,
"no-submodule-imports": [true, "rxjs", "fp-ts/lib", "io-ts-types/lib"],
"no-var-requires": false,
"object-literal-sort-keys": false,
"ordered-imports": true,
"quotemark": [true, "single", "avoid-escape", "avoid-template"],
"semicolon": [true, "always", "ignore-bound-class-methods"],
"trailing-comma": [true, { "multiline": "never", "singleline": "never" }],
"type-literal-delimiter": true,
"typedef": [true, "call-signature", "property-declaration"],
"variable-name": [true, "allow-leading-underscore", "allow-pascal-case"],
"whitespace": [true, "check-type"]
}
}