This repository has been archived by the owner on Jul 21, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
59 lines (57 loc) · 1.83 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
{
"extends": "tslint-microsoft-contrib",
"rulesDirectory": [
"node_modules/tslint-microsoft-contrib"
],
"rules": {
// Basic
"no-multiline-string": false,
"max-file-line-count": [true, 600],
"jsdoc-format": true,
"cyclomatic-complexity": [true, 20],
"no-default-export": false,
"typedef": false,
"no-unsafe-any": false,
"no-parameter-properties": false,
"max-classes-per-file": false,
"strict-boolean-expressions": false,
"no-require-imports": false,
"no-var-requires": false,
"newline-before-return": false,
"match-default-export-name": false,
"prefer-for-of": false,
"no-non-null-assertion": false,
"promise-function-async": false,
"unified-signatures": false,
"no-redundant-jsdoc": false,
"no-unnecessary-type-assertion": false,
// Prettier-incompatible or prettier-handled rules
"align": false,
"no-single-line-block-comment": false,
"semicolon": false,
"trailing-comma": false,
"space-before-function-paren": false,
"quotemark": false,
// Microsoft
"no-relative-imports": false,
"missing-jsdoc": false,
"chai-vague-errors": false,
"import-name": false,
"export-name": false,
"no-reserved-keywords": false,
"no-any": false,
"no-increment-decrement": false,
"no-backbone-get-set-outside-model": false,
"function-name": [true, {
"method-regex": "^[a-z][\\w\\d]+$",
"private-method-regex": "^[a-z][\\w\\d]+$",
"static-method-regex": "^[a-z][\\w\\d]+$",
"function-regex": "^[a-zA-Z][\\w\\d]+$"
}],
"insecure-random": false,
"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"], // for unused params
"no-suspicious-comment": false,
"no-implicit-dependencies": [true, "dev"],
"no-submodule-imports": [true, "rxjs"]
}
}