-
Notifications
You must be signed in to change notification settings - Fork 1
/
tslint.json
93 lines (93 loc) · 2.4 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"extends": ["tslint-microsoft-contrib","@microsoft/sp-tslint-rules"],
"rules": {
"class-name": false,
"export-name": false,
"match-default-export-name": false,
"forin": false,
"label-position": false,
"member-access": true,
"no-arg": false,
"no-construct": false,
"no-duplicate-variable": true,
"no-eval": false,
"no-function-expression": true,
"no-internal-module": true,
"no-shadowed-variable": true,
"no-switch-case-fall-through": true,
"no-unnecessary-semicolons": true,
"no-unused-expression": true,
"no-use-before-declare": true,
"no-with-statement": true,
"semicolon": true,
"typedef": false,
"typedef-whitespace": false,
"use-named-parameter": true,
"variable-name": false,
"whitespace": false,
"missing-jsdoc": false,
"ordered-imports": false,
"no-relative-imports": false,
"import-name": false,
"max-func-body-length": 0,
"react-tsx-curly-spacing": false,
"no-default-export": false,
"no-empty-interface": false,
"no-any": false,
"comment-format": [true, "check-space"],
"curly": true,
"eofline": false,
"indent": [true, "spaces", 2],
"interface-name": true,
"max-line-length": [true, 120],
"member-ordering": [
true,
"public-before-private",
"static-before-instance",
"variables-before-functions"
],
"missing-optional-annotation": true,
"no-bitwise": true,
"no-consecutive-blank-lines": true,
"no-console": [
true,
"debug",
"info",
"time",
"timeEnd",
"trace"
],
"no-constant-condition": true,
"no-debugger": true,
"no-duplicate-case": true,
"no-duplicate-parameter-names": true,
"no-empty": true,
"no-inferrable-types": false,
"no-null-keyword": true,
"no-string-literal": true,
"no-trailing-whitespace": true,
"no-unused-imports": true,
"no-var-keyword": true,
"object-literal-sort-keys": false,
"one-line": [
true,
"check-open-brace",
"check-catch",
"check-else",
"check-whitespace"
],
"quotemark": [true, "single", "avoid-escape"],
"prefer-const": true,
"radix": true,
"trailing-comma": [
true,
{
"multiline": "always",
"singleline": "never"
}
],
"triple-equals": [true, "allow-null-check"],
"use-isnan": true,
"valid-typeof": true
}
}