-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtslint.js
28 lines (28 loc) · 832 Bytes
/
tslint.js
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
module.exports = {
extends: ['tslint-eslint-rules'],
rules: {
'no-conditional-assignment': true,
'no-console': true,
'no-constant-condition': true,
'no-control-regex': true,
'no-debugger': true,
'no-duplicate-case': true,
'no-duplicate-variable': true,
'no-empty-character-class': true,
'no-empty': true,
'no-ex-assign': true,
'no-extra-boolean-cast': true,
'no-extra-semi': true,
'no-inner-declarations': [true, 'both'],
'no-invalid-regexp': true,
'no-regex-spaces': true,
'no-switch-case-fall-through': true,
'no-unsafe-finally': true,
'no-unused-variable': true,
'ter-no-irregular-whitespace': [true],
'ter-no-mixed-spaces-and-tabs': { type: 'spaces' },
'ter-no-sparse-arrays': [true],
'use-isnan': true,
'valid-typeof': true
}
};