-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtslint.json
57 lines (57 loc) · 1.19 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
{
"extends": [
"tslint:recommended"
],
"rulesDirectory": [
"node_modules/tslint-eslint-rules/dist/rules"
],
"rules": {
"no-null-keyword": true,
"ordered-imports": false,
"only-arrow-functions": [true, "allow-declarations", "allow-named-functions"],
"object-literal-key-quotes": [true, "consistent"],
"quotemark": [
true,
"single"
],
"interface-name": [
true,
"never-prefix"
],
"no-namespace": "allow-decalarations",
"object-literal-sort-keys": false,
"trailing-comma": [
false,
{
"singleline": "never",
"multiline": "always"
}
],
"no-string-literal": false,
"no-var-requires": false,
"object-curly-spacing": [
true,
"always"
],
"array-bracket-spacing": [
true,
"never"
],
"no-irregular-whitespace": "error",
"valid-typeof": 2,
"no-multi-spaces": true,
"block-spacing": "always",
"brace-style": [
2,
"1tbs"
],
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-pascal-case",
"allow-leading-underscore"
],
"no-constant-condition": true
}
}