-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
108 lines (108 loc) · 2.74 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"extends": [
"tslint:recommended"
],
"rules": {
"array-type": [
true,
"array"
],
"ban-comma-operator": true,
"comment-format": [true, "check-space"],
"indent": [
true,
"spaces",
4
],
"interface-name": [
true,
"never-prefix"
],
"max-classes-per-file": false,
"max-line-length": [
true,
{
"limit": 120,
"ignore-pattern": "(`|\"|').{80,}(`|\"|')"
}
],
"member-access": [
true,
"check-accessor",
"check-constructor",
"check-parameter-property"
],
"member-ordering": false,
"no-consecutive-blank-lines": true,
"no-console": false,
"no-default-export": true,
"no-duplicate-switch-case": true,
"no-dynamic-delete": true,
"no-invalid-this": true,
"no-shadowed-variable": false,
"no-inferrable-types": [
true,
"ignore-params"
],
"no-internal-module": true,
"no-this-assignment": true,
"no-return-await": true,
"one-line": true,
"await-promise": true,
"no-unused-expression": [true, "allow-fast-null-checks"],
"object-literal-key-quotes": [
true,
"as-needed"
],
"object-literal-sort-keys": false,
"only-arrow-functions": false,
"prefer-readonly": true,
"prefer-while": true,
"quotemark": [
true,
"double",
"avoid-template"
],
"semicolon": [
true,
"always"
],
"space-before-function-paren": [
true,
{
"anonymous": "always",
"asyncArrow": "always",
"constructor": "never",
"method": "never",
"named": "never"
}
],
"switch-final-break": [true, "always"],
"triple-equals": true,
"unified-signatures": false,
"use-default-type-parameter": true,
"variable-name": [
true,
"allow-leading-underscore",
"allow-pascal-case"
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-module",
"check-separator",
"check-rest-spread",
"check-type",
"check-typecast",
"check-type-operator",
"check-preblock"
]
},
"linterOptions": {
"exclude": [
"node_modules/*"
]
}
}