-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
122 lines (122 loc) · 4.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
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
118
119
120
121
122
{
"rulesDirectory": [
"node_modules/tslint-plugin-prettier/rules",
"node_modules/tslint-eslint-rules/dist/rules",
"node_modules/tslint-microsoft-contrib",
"node_modules/vrsource-tslint-rules/rules"
],
"rules": {
"prettier": [true, "."],
"adjacent-overload-signatures": true,
"array-type": [true, "array"],
"callable-types": true,
"class-name": true,
"comment-format": [true, "check-space"],
"curly": true,
"cyclomatic-complexity": [true, 13],
"forin": true,
"interface-name": [false, "never-prefix"],
"jsdoc-format": true,
"max-classes-per-file": [true, 5],
"member-access": [
true,
"check-accessor",
"check-constructor"
],
"member-ordering": [
true,
{
"order": [
"public-static-field",
"protected-static-field",
"private-static-field",
"public-instance-field",
"protected-instance-field",
"private-instance-field",
"constructor",
"public-static-method",
"public-instance-method",
"protected-instance-method",
"protected-static-method",
"private-instance-method",
"private-static-method"
]
}
],
"no-angle-bracket-type-assertion": true,
"no-arg": true,
"no-conditional-assignment": true,
"no-construct": true,
"no-debugger": true,
"no-default-export": false,
"no-duplicate-variable": true,
"no-empty": true,
"no-eval": true,
"no-inferrable-types": [true, "ignore-params", "ignore-properties"],
"no-internal-module": true,
"no-invalid-this": [false],
"no-mergeable-namespace": true,
"no-parameter-properties": true,
"no-reference": false,
"no-require-imports": false,
"no-shadowed-variable": true,
"no-string-literal": true,
"no-string-throw": true,
"no-switch-case-fall-through": true,
"no-unsafe-finally": true,
"no-unused-expression": true,
"no-var-keyword": true,
"no-var-requires": false,
"object-literal-sort-keys": false,
"one-variable-per-declaration": true,
"only-arrow-functions": [true, "allow-declarations"],
"prefer-const": true,
"triple-equals": [true, "allow-null-check"],
"typedef": [
true,
"call-signature",
"parameter",
"arrow-parameter",
"property-declaration",
"member-variable-declaration"
],
"use-isnan": true,
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-pascal-case",
"allow-leading-underscore"
],
"no-empty-character-class": true,
"no-ex-assign": true,
"no-inner-declarations": true,
"mocha-unneeded-done": true,
"no-banned-terms": true,
"no-constant-condition": [true, { "checkLoops": false }],
"no-delete-expression": true,
"no-disable-auto-sanitization": true,
"no-document-domain": true,
"no-duplicate-case": true,
"no-exec-script": true,
"no-function-constructor-with-string-args": true,
"no-invalid-regexp": true,
"no-octal-literal": true,
"no-regex-spaces": true,
"no-sparse-arrays": true,
"no-string-based-set-immediate": true,
"no-string-based-set-interval": true,
"no-string-based-set-timeout": true,
"no-this-assignment": true,
"no-typeof-undefined": true,
"no-unnecessary-bind": true,
"no-unnecessary-class": true,
"no-unnecessary-field-initialization": true,
"no-unnecessary-local-variable": true,
"no-unnecessary-override": true,
"no-with-statement": true,
"prefer-array-literal": true,
"promise-must-complete": true,
"max-params": [true, 6]
}
}