-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathtslint.json
71 lines (71 loc) · 2.68 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
{
"rules": {
"indent": [true, "tabs", 4],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type"
],
"file-header": [
true,
{
"match": ".*Copyright.*",
"allow-single-line-comments": false,
"default": "Copyright (c) Microsoft Corporation. All rights reserved.\n Licensed under the MIT License. See License in the project root for license information.",
"enforce-trailing-newline": false
}
],
"quotemark": [ true, "single", "avoid-escape", "avoid-template"],
"no-var-keyword": true,
"space-before-function-paren": [true, {"anonymous": "always", "named": "never", "asyncArrow": "always"}],
"prefer-const": [true, {"destructuring": "all"}],
"no-unused-expression": true,
"no-duplicate-variable": true,
"curly": true,
"non-literal-fs-path": false,
"newline-per-chained-call": false,
"class-name": true,
"semicolon": [true, "always", "strict-bound-class-methods"],
"triple-equals": true,
"no-relative-imports": false,
"max-line-length": false,
"max-func-body-length": false,
"typedef": false,
"no-string-throw": true,
"missing-jsdoc": false,
"one-line": [true, "check-open-brace", "check-catch", "check-finally", "check-else", "check-whitespace"],
"no-parameter-properties": false,
"no-parameter-reassignment": false,
"no-reserved-keywords": false,
"newline-before-return": false,
"export-name": false,
"align": false,
"linebreak-style": false,
"strict-boolean-expressions": false,
"await-promise": [true, "Thenable", "PromiseLike"],
"completed-docs": false,
"no-unsafe-any": false,
"no-backbone-get-set-outside-model": false,
"underscore-consistent-invocation": false,
"no-void-expression": false,
"no-non-null-assertion": false,
"prefer-type-cast": false,
"promise-function-async": false,
"function-name": false,
"variable-name": false,
"no-import-side-effect": false,
"no-string-based-set-timeout": false,
"no-floating-promises": true,
"no-empty-interface": false,
"no-bitwise": false,
"eofline": true,
"switch-final-break": false,
"no-unnecessary-type-assertion": false,
"no-submodule-imports": false,
"no-redundant-jsdoc": false,
"binary-expression-operand-order": false
}
}