-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.json
138 lines (138 loc) · 3.04 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended",
"tslint-react",
"tslint-lines-between-class-members",
"tslint-eslint-rules",
"tslint-consistent-codestyle",
"tslint-no-circular-imports",
"tslint-plugin-prettier",
"tslint-config-prettier"
],
"rules": {
"max-len": [1, 200],
"no-duplicate-case": {
"severity": "error"
},
"no-empty-character-class": {
"severity": "warn"
},
"no-extra-boolean-cast": {
"severity": "warn"
},
"no-inner-declarations": {
"severity": "error"
},
"no-invalid-regexp": {
"severity": "error"
},
"no-regex-spaces": false,
"no-sparse-arrays": {
"severity": "warn"
},
"valid-jsdoc": false,
"valid-typeof": {
"severity": "error"
},
"lines-between-class-members": true,
"parameter-properties": ["trailing", "readonly"],
"ext-curly": ["consistent", "else", "braced-child", "nested-if-else"],
"no-accessor-recursion": true,
"no-static-this": true,
"no-unused": {
"severity": "warn"
},
"jsx-key": true,
"jsx-no-string-ref": true,
"jsx-self-close": true,
"jsx-no-bind": {
"severity": "warn"
},
"jsx-no-lambda": {
"severity": "warn"
},
"no-circular-imports": {
"severity": "warn"
},
"unnecessary-bind": true,
"adjacent-overload-signatures": true,
"array-type": false,
"arrow-parens": true,
"arrow-return-shorthand": true,
"ban-types": {
"severity": "warn"
},
"class-name": true,
"deprecation": {
"severity": "warn"
},
"interface-name": false,
"linebreak-style": [true, "LF"],
"no-angle-bracket-type-assertion": true,
"no-arg": true,
"no-bitwise": {
"severity": "warn"
},
"no-console": false,
"no-debugger": {
"severity": "warn"
},
"no-eval": {
"severity": "error"
},
"no-implicit-dependencies": [true, "dev", "optional"],
"no-import-side-effect": {
"severity": "warn"
},
"no-trailing-whitespace": true,
"no-unsafe-finally": true,
"no-unused-expression": {
"severity": "warn"
},
"no-use-before-define": false,
"no-var-keyword": true,
"object-literal-sort-keys": false,
"prefer-const": {
"severity": "warn"
},
"prefer-readonly": {
"severity": "warn"
},
"restrict-plus-operands": true,
"space-before-function-paren": [
true,
{
"anonymous": "always",
"named": "never",
"asyncArrow": "always"
}
],
"triple-equals": true,
"unnecessary-constructor": true,
"use-isnan": {
"severity": "error"
},
"camelcase": [
{
"severity": "warn"
},
{
"properties": "never"
}
],
"curly": {
"severity": "warn",
"options": ["multi-line"]
},
"eofline": true,
"radix": {
"severity": "warn"
},
"semi": ["error", "always"],
"prettier": true
},
"linterOptions": {
"exclude": ["*.json", "**/*.json"]
}
}