-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
92 lines (92 loc) · 2.61 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
{
"extends": "tslint:recommended",
"globals": [
"describe"
],
"rules": {
"no-empty-interface": true,
"no-import-side-effect": true,
"no-console": [true],
"no-bitwise": true,
"no-conditional-assignment": true,
"no-debugger": true,
"no-duplicate-super": true,
"no-duplicate-variable": true,
"no-empty": true,
"no-eval": true,
"no-floating-promises": true,
"no-for-in-array": true,
"no-inferred-empty-object-type": true,
"no-invalid-template-strings": true,
"no-invalid-this": true,
"no-misused-new": true,
"no-null-keyword": true,
"no-shadowed-variable": true,
"no-sparse-arrays": true,
"no-string-literal": true,
"no-string-throw": true,
"no-switch-case-fall-through": true,
"no-unsafe-finally": true,
"no-unused-expression": true,
"no-unused-variable": true,
"no-use-before-declare": true,
"no-var-keyword": true,
"no-void-expression": true,
"radix": true,
"restrict-plus-operands": true,
"strict-boolean-expressions": true,
"switch-default": true,
"triple-equals": true,
"typeof-compare": true,
"use-default-type-parameter": true,
"use-isnan": true,
"cyclomatic-complexity": [true],
"deprecation": true,
"eofline": true,
"indent": [true, "spaces", 2],
"linebreak-style": [true, "LF"],
"max-file-line-count": [true, 500],
"max-line-length": [true, 120],
"no-mergeable-namespace": true,
"no-require-imports": true,
"prefer-const": true,
"trailing-comma": [true, {
"multiline": "never",
"singleline": "never"
}],
"array-type": [true, "generic"],
"arrow-parens": true,
"arrow-return-shorthand": true,
"binary-expression-operand-order": true,
"class-name": true,
"interface-name": [true, "never-prefix"],
"no-consecutive-blank-lines": true,
"no-irregular-whitespace": true,
"no-trailing-whitespace": true,
"number-literal-format": true,
"object-literal-key-quotes": [true, "as-needed"],
"object-literal-sort-keys": false,
"one-variable-per-declaration": [true],
"only-arrow-functions": [false],
"prefer-method-signature": true,
"prefer-template": true,
"quotemark": [true, "single"],
"semicolon": [true],
"space-before-function-paren": [true, "never"],
"switch-final-break": true,
"variable-name": true,
"ban-types": false,
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-module",
"check-separator",
"check-type",
"check-typecast",
"check-preblock"
],
"align": [false]
}
}