This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
/
tslint.sdl.json
73 lines (72 loc) · 2.33 KB
/
tslint.sdl.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
{
"extends": [
"tslint-microsoft-contrib"
],
"defaultSeverity": "error",
"rules": {
"function-name": [
true,
{
"method-regex": "^[a-z][\\w\\d]+$",
"private-method-regex": "^[a-z][\\w\\d]+$",
"protected-method-regex": "^[a-z][\\w\\d]+$",
"static-method-regex": "^[A-Z][\\w\\d]+$",
"function-regex": "^[a-z][\\w\\d]+$"
}
],
"one-line": [
true,
"check-open-brace",
"check-whitespace"
],
"no-banned-terms": true,
"no-delete-expression": true,
"no-document-domain": true,
"no-disable-auto-sanitization": true,
"no-duplicate-parameter-names": true,
"no-exec-script": true,
"no-function-constructor-with-string-args": true,
"no-octal-literal": true,
"no-reserved-keywords": false,
"no-string-based-set-immediate": true,
"no-string-based-set-interval": true,
"no-string-based-set-timeout": true,
"align": false,
"comment-format": false,
"cyclomatic-complexity": false,
"eofline": false,
"export-name": false,
"import-name": false,
"indent": false,
"insecure-random": false,
"interface-name": false,
"linebreak-style": false,
"max-func-body-length": false,
"max-line-length": false,
"member-access": false,
"mocha-no-side-effect-code": false,
"newline-before-return": false,
"no-any": false,
"no-backbone-get-set-outside-model": false,
"no-console": false,
"no-default-export": false,
"no-empty": false,
"no-http-string": false,
"no-multiline-string": false,
"no-non-null-assertion": false,
"no-relative-imports": false,
"no-suspicious-comment": false,
"no-trailing-whitespace": false,
"no-unnecessary-callback-wrapper": false,
"object-literal-key-quotes": false,
"ordered-imports": false,
"prefer-const": false,
"prefer-type-cast": false,
"quotemark": false,
"semicolon": false,
"trailing-comma": false,
"type-literal-delimiter": false,
"typedef": false,
"variable-name": false
}
}