This repository has been archived by the owner on Sep 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
tslint.json
89 lines (89 loc) · 1.95 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
{
"extends": ["tslint:recommended", "tslint-eslint-rules"],
"rules": {
"prefer-const": true,
"no-var-keyword": true,
"object-literal-sort-keys": false,
"object-literal-shorthand": true,
"object-literal-key-quotes": [true, "as-needed"],
"quotemark": [true, "single", "jsx-double"],
"no-eval": true,
"space-before-function-paren": [
true,
{
"anonymous": "always",
"named": "never"
}
],
"align": [true, "parameters", "statements"],
"ter-prefer-arrow-callback": [true],
"arrow-parens": false,
"ter-arrow-parens": [
false,
"as-needed",
{
"requireForBlockBody": true
}
],
"one-variable-per-declaration": [true, "ignore-for-loop"],
"triple-equals": [true, "allow-null-check"],
"brace-style": [
true,
"1tbs",
{
"allowSingleLine": true
}
],
"comment-format": {
"options": ["check-space", "check-uppercase"],
"severity": "warning"
},
"indent": [true, "spaces", 2],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-type"
],
"eofline": true,
"space-in-parens": [true, "never"],
"array-bracket-spacing": [true, "never"],
"object-curly-spacing": [true, "always"],
"ter-max-len": [
true,
100,
2,
{
"ignoreComments": true,
"ignoreStrings": true
}
],
"trailing-comma": [
true,
{
"multiline": "always",
"singleline": "never"
}
],
"semicolon": [true, "always"],
"radix": true,
"no-construct": true,
"variable-name": [true, "check-format"],
"class-name": true,
// "prefer-case-blocks": true,
// "max-params": [true, 5]
"no-duplicate-imports": true
},
"jsRules": {
"ter-max-len": [
true,
100,
2,
{
"ignoreComments": true,
"ignoreStrings": true
}
]
}
}