forked from vuetifyjs/vuetify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tslint.js
37 lines (32 loc) · 806 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
29
30
31
32
33
34
35
36
37
module.exports = {
defaultSeverity: 'error',
extends: 'typestrict',
linterOptions: {
include: [
'./src/**/*.ts'
],
exclude: [
'**/*.spec.js',
'./node_modules/**/*'
]
},
jsRules: {},
rules: {
'array-type': [true, 'array'],
'use-type-alias': true,
'no-inferrable-types': true,
'unified-signatures': true,
'use-default-type-parameter': true,
'no-undefined-argument': true,
/* typestrict overrides */
// Don't check params, for abstract methods
'no-unused-variable': [true, { 'check-parameters': false }],
// Useless with vue
'no-invalid-this': false,
// Retarded
'restrict-plus-operands': false,
// Fails with no-unused-variable for some reason
'no-useless-cast': false
},
rulesDirectory: []
}