-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtslint.json
More file actions
66 lines (66 loc) · 1.75 KB
/
Copy pathtslint.json
File metadata and controls
66 lines (66 loc) · 1.75 KB
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
/**
* This starter project recommended using Microsoft TSLint rules.
* Please see https://github.com/Microsoft/tslint-microsoft-contrib for more details.
*/
{
"extends": [
"tslint-microsoft-contrib"
],
"defaultSeverity": "warning",
"rules": {
"mocha-no-side-effect-code": false,
"missing-jsdoc": false,
"no-relative-imports": false,
"export-name": false,
"promise-function-async": false,
"no-void-expression": false,
"no-any": false,
"no-unsafe-any": false,
"no-console": false,
"no-empty": false,
"one-line": false,
"interface-name": false,
"no-empty-interface": false,
"no-trailing-whitespace": false,
"eofline": true,
"no-require-imports": true,
"strict-boolean-expressions": false,
"prefer-template": false,
"match-default-export-name": false,
"await-promise": false,
"prefer-type-cast": false,
"no-http-string": false,
"import-name": false,
"completed-docs": false,
"deprecation": true,
"ordered-imports": {
"severity": "warning"
},
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-module",
"check-separator",
"check-rest-spread",
"check-type",
"check-type-operator",
"check-preblock"
],
"trailing-comma": [ // https://palantir.github.io/tslint/rules/trailing-comma/
true,
{
"multiline": "always",
"singleline": "never"
}
],
"typedef": [
true,
"parameter",
"property-declaration",
"member-variable-declaration"
]
},
"no-implicit-dependencies": [true, "dev"]
}