This repository has been archived by the owner on Apr 14, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
101 lines (101 loc) · 2.99 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
{
"extends": "tslint:latest",
"rulesDirectory": ["node_modules/tslint-eslint-rules/dist/rules"],
"rules": {
"typedef": [
true,
"parameter",
"call-signature",
"arrow-parameter",
"property-declaration",
"variable-declaration",
"member-variable-declaration"
],
"interface-over-type-literal": false,
"object-literal-key-quotes": [true, "as-needed"],
"max-file-line-count": [true, 150],
"eofline": true,
"newline-before-return": true,
"no-constant-condition": true,
"no-control-regex": true,
"no-duplicate-case": true,
"no-empty-character-class": true,
"no-ex-assign": true,
"no-extra-boolean-cast": true,
"no-extra-semi": true,
"no-inner-declarations": [
true,
"both"
],
"no-invalid-regexp": true,
"object-literal-sort-keys": false,
"ordered-imports": [false],
"ter-no-irregular-whitespace": true,
"no-regex-spaces": true,
"ter-no-sparse-arrays": true,
"no-unexpected-multiline": true,
"use-isnan": true,
"valid-typeof": true,
"no-multi-spaces": [
true,
{
"exceptions": { "PropertyAssignment": false, "OtherException": "true|false" }
}
],
"handle-callback-err": [
true,
"^(err|error|anySpecificError)$"
],
"array-bracket-spacing": [
true,
"always",
{
"objectsInArrays": false,
"arraysInArrays": false
}
],
"object-curly-spacing": [
true,
"always"
],
"block-spacing": [
true,
"always"
],
"brace-style": [
true,
"1tbs"
],
"valid-jsdoc": [
true,
{
"prefer": {
"arg": "param",
"argument": "param",
"return": "returns"
},
"preferType": {
"Boolean": "boolean",
"Number": "number",
"object": "Object",
"String": "string"
},
"requireReturn": false,
"requireParamDescription": true,
"requireReturnDescription": true,
"matchDescription": "^[A-Z][A-Za-z0-9\\s]*[.]$"
}
],
"prefer-conditional-expression": false,
"prefer-object-spread": false,
"no-shadowed-variable": true,
"ter-func-call-spacing": true,
"no-parameter-reassignment": true,
"no-submodule-imports": false,
"no-redundant-jsdoc": true,
"ban-comma-operator": true,
"no-dynamic-delete": true,
"prefer-readonly": true,
"ter-padded-blocks": [true, "never"]
}
}