Repository navigation
Expand file tree
/
Copy pathtslint.json
More file actions
89 lines (89 loc) · 2.34 KB
/
Copy pathtslint.json
File metadata and controls
89 lines (89 loc) · 2.34 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"defaultSeverity": "error",
"extends": "tslint:recommended",
"naming-convention": [
true,
{
"type": "default",
"format": "camelCase",
"leadingUnderscore": "forbid",
"trailingUnderscore": "forbid"
},
{
"type": "variable",
"modifiers": "global",
"format": "UPPER_CASE"
},
{
"type": "variable",
"modifiers": "private",
"format": "camelCase",
"leadingUnderscore": "require",
"trailingUnderscore": "forbid"
},
{
"type": "variable",
"modifiers": "protected",
"format": "camelCase",
"leadingUnderscore": "require",
"trailingUnderscore": "forbid"
},
{
"type": "parameter",
"leadingUnderscore": "forbid",
"trailingUnderscore": "forbid",
"final": true
},
{
"type": "member",
"modifiers": "private",
"leadingUnderscore": "require"
},
{
"type": "member",
"modifiers": "protected",
"leadingUnderscore": "require"
},
{
"type": "type",
"format": "PascalCase"
},
{
"type": "interface",
"prefix": "I"
},
{
"type": "genericTypeParameter",
"prefix": "T"
},
{
"type": "enumMember",
"format": "PascalCase"
}
],
"jsRules": {},
"rules": {
"array-type": false,
"max-classes-per-file": 2,
"no-string-literal": false,
"no-var-requires": false,
"align": false,
"object-literal-sort-keys": false,
"arrow-parens": false,
"member-ordering": false,
"no-angle-bracket-type-assertion": true,
"variable-name": false,
"no-console": false,
"trailing-comma": false,
"no-unused-expression": false,
"no-empty": false,
"ordered-imports": false,
"one-variable-per-declaration": false,
"no-consecutive-blank-lines": true,
"no-bitwise": false,
"whitespace": [ true, "check-module" ]
},
"rulesDirectory": [
"tslint-consistent-codestyle"
]
}