This repository has been archived by the owner on May 2, 2024. It is now read-only.
forked from forcedotcom/salesforcedx-vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tslint.json
48 lines (48 loc) · 1.78 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
{
"defaultSeverity": "error",
"extends": ["tslint:recommended"],
"jsRules": {},
"rules": {
"arrow-parens": [true, "ban-single-arg-parens"],
"curly": [true, "ignore-same-line"],
"interface-name": false,
"interface-over-type-literal": false,
"max-classes-per-file": false,
"max-line-length": false,
//"no-any": true,
"no-bitwise": false,
"no-console": false,
"no-empty": false,
"no-floating-promises": true,
"no-namespace": false,
"no-string-literal": false,
"no-trailing-whitespace": [true],
"object-literal-key-quotes": [true, "as-needed"],
"object-literal-sort-keys": false,
"only-arrow-functions": [true, "allow-named-functions"],
"ordered-imports": true,
//"quotemark": [true, "single", "avoid-template", "avoid-escape"],
"semicolon": [true, "always", "ignore-bound-class-methods"],
"trailing-comma": [true, { "multiline": "never", "singleline": "never" }],
"variable-name": [true, "allow-leading-underscore"],
// -- Begin MS SDL https://github.com/Microsoft/tslint-microsoft-contrib/wiki/TSLint-and-the-Microsoft-Security-Development-Lifecycle
// "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-string-based-set-immediate": true,
// "no-string-based-set-interval": true,
//"no-string-based-set-timeout": true,
"no-eval": true,
// -- End MS SDL
"no-reserved-keywords": false,
"no-any": false,
"quotemark": [true, "single", "avoid-escape"],
"member-ordering": false,
"no-string-based-set-timeout": false
}
}