-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcommon-style.tslint.json
117 lines (117 loc) · 2.55 KB
/
common-style.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
109
110
111
112
113
114
115
116
117
{
"rules": {
"align": [
true,
"parameters",
"statements"
],
"array-type": [true, "array"],
"arrow-parens": [
true,
"ban-single-arg-parens"
],
"arrow-return-shorthand": [
true,
"multiline"
],
"binary-expression-operand-order": true,
"callable-types": true,
"class-name": true,
"comment-format": [
true,
"check-space"
],
"completed-docs": false,
"encoding": true,
"file-header": false,
"import-spacing": true,
"interface-name": [
true,
"always-prefix"
],
"interface-over-type-literal": false,
"jsdoc-format": true,
"match-default-export-name": true,
"newline-before-return": true,
"new-parens": true,
"no-angle-bracket-type-assertion": true,
"no-boolean-literal-compare": true,
"no-consecutive-blank-lines": true,
"no-irregular-whitespace": true,
"no-parameter-properties": false,
"no-reference-import": false,
"no-trailing-whitespace": true,
"no-unnecessary-callback-wrapper": true,
"no-unnecessary-initializer": true,
"no-unnecessary-qualifier": true,
"number-literal-format": true,
"object-literal-key-quotes": [
true,
"as-needed"
],
"object-literal-shorthand": true,
"one-line": [
true,
"check-open-brace",
"check-catch",
"check-else",
"check-finally",
"check-whitespace"
],
"one-variable-per-declaration": true,
"ordered-imports": [
true,
{
"grouped-imports": false
}
],
"prefer-function-over-method": false,
"prefer-method-signature": true,
"prefer-switch": true,
"prefer-template": true,
"quotemark": [
true,
"single",
"avoid-escape"
],
"return-undefined": false,
"semicolon": [
true,
"never"
],
"space-before-function-paren": [
true,
{
"anonymous": "always",
"asyncArrow": "always",
"constructor": "never",
"named": "never",
"method": "never"
}
],
"space-within-parens": false,
"switch-final-break": [
true,
"always"
],
"type-literal-delimiter": false,
"variable-name": [
true,
"check-format",
"allow-leading-underscore",
"allow-trailing-underscore",
"ban-keywords"
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-module",
"check-operator",
"check-separator",
"check-type",
"check-typecast",
"check-preblock"
]
}
}