-
Notifications
You must be signed in to change notification settings - Fork 96
/
tslint.json
47 lines (47 loc) · 1.23 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
{
"extends": ["tslint:latest", "tslint-config-prettier"],
"rulesDirectory": ["tslint-plugin-prettier"],
"rules": {
"prettier": true,
"no-console": [false],
"quotemark": [true, "single"],
"semicolon": [true, "always", "ignore-bound-class-methods"],
"trailing-comma": [
true,
{
"multiline": "always",
"singleline": "never"
}
],
"only-arrow-functions": [true, "allow-named-functions"],
"arrow-parens": false,
"variable-name": [
true,
"check-format",
"allow-pascal-case",
"allow-leading-underscore"
],
"switch-default": false,
"member-access": false,
"ordered-imports": [false],
"object-literal-sort-keys": false,
"no-unused-expression": [
true,
"allow-fast-null-checks",
"allow-tagged-template"
],
"no-shadowed-variable": [true, { "underscore": false }],
"max-classes-per-file": [true, 1],
"object-literal-key-quotes": [true, "as-needed"],
"interface-over-type-literal": false,
"no-object-literal-type-assertion": false,
"member-ordering": [
true,
{
"order": "statics-first"
}
],
"no-submodule-imports": false,
"interface-name": [true, "never-prefix"]
}
}