-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathtslint.json
More file actions
100 lines (100 loc) · 2.34 KB
/
Copy pathtslint.json
File metadata and controls
100 lines (100 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
90
91
92
93
94
95
96
97
98
99
100
{
"extends": ["tslint:latest", "tslint-eslint-rules"],
"rules": {
"arrow-parens": false,
"array-type": false,
"ban": [
true,
[ "_", "forEach" ],
[ "_", "each" ]
],
"interface-name": [true, "never-prefix"],
"interface-over-type-literal": false,
"import-spacing": false,
"jsx-no-multiline-js": false,
"jsx-wrap-multiline": false,
"jsx-boolean-value": false,
"ban-types": false,
"linebreak-style": [true, "LF"],
"max-classes-per-file": [true, 3],
"no-angle-bracket-type-assertion": true,
"no-default-export": false,
"no-inferrable-types": true,
"no-invalid-this": [
true,
"check-function-in-method"
],
"no-null-keyword": false,
"no-require-imports": false,
"no-string-literal": false,
"no-switch-case-fall-through": true,
"no-use-before-declare": true,
"no-var-requires": false,
"object-literal-key-quotes": [true, "consistent-as-needed"],
"object-literal-sort-keys": false,
"ordered-imports": false,
"prefer-for-of": false,
"space-in-parens": [true, "never"],
"triple-equals": [
true,
"allow-null-check",
"allow-undefined-check"
],
"variable-name": [
true,
"check-format",
"allow-leading-underscore",
"ban-keywords",
"allow-pascal-case"
],
"no-console": false,
"no-constant-condition": true,
"no-control-regex": true,
"no-duplicate-case": true,
"no-empty-character-class": true,
"no-empty-interface": false,
"no-ex-assign": true,
"no-extra-boolean-cast": true,
"no-extra-semi": false,
"no-inner-declarations": [
true,
"both"
],
"no-invalid-regexp": true,
"no-irregular-whitespace": true,
"no-regex-spaces": true,
"no-sparse-arrays": true,
"no-unexpected-multiline": true,
"space-before-function-paren": [
true,
{
"anonymous": "always",
"named": "never",
"asyncArrow": "always"
}
],
"valid-typeof": true,
"array-bracket-spacing": [
true,
"never"
],
"block-spacing": [
true,
"always"
],
"brace-style": [
true,
"1tbs",
{
"allowSingleLine": true
}
],
"ter-indent": [true, 4, {
"SwitchCase": 1
}],
"object-curly-spacing": [
true,
"always"
]
}
}