-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtslint.json
More file actions
executable file
·37 lines (37 loc) · 871 Bytes
/
tslint.json
File metadata and controls
executable file
·37 lines (37 loc) · 871 Bytes
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": false,
"interface-name": [
true,
"never-prefix"
],
"no-console": false,
"max-classes-per-file": [
false
],
"member-access": [
false,
"check-accessor",
"check-constructor"
],
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"],
// 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": [
true,
{ "multiline": "always", "singleline": "never" }
]
}
}