File tree 2 files changed +24
-4
lines changed
2 files changed +24
-4
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,5 @@ module.exports = {
13
13
rules : {
14
14
// The core 'no-unused-vars' rules does not work with type definitions
15
15
'no-unused-vars' : 'off' ,
16
-
17
- // https://github.com/typescript-eslint/typescript-eslint/issues/46
18
- // And several other bugs
19
- // '@typescript-eslint/no-unused-vars': 'error',
20
16
}
21
17
}
Original file line number Diff line number Diff line change
1
+ module . exports = {
2
+ extends : [ './index' ] ,
3
+
4
+ overrides : [
5
+ {
6
+ files : [ '*.ts' , '*.tsx' ] ,
7
+ // the ts-eslint recommended ruleset sets the parser so we need to set it back
8
+ parser : 'vue-eslint-parser' ,
9
+ extends : [ 'plugin:@typescript-eslint/recommended' ] ,
10
+ rules : {
11
+ '@typescript-eslint/explicit-function-return-type' : 'off'
12
+ }
13
+ } ,
14
+ {
15
+ files : [ 'shims-tsx.d.ts' ] ,
16
+ rules : {
17
+ '@typescript-eslint/no-empty-interface' : 'off' ,
18
+ '@typescript-eslint/no-explicit-any' : 'off' ,
19
+ '@typescript-eslint/member-delimiter-style' : 'off' ,
20
+ '@typescript-eslint/no-unused-vars' : 'off'
21
+ }
22
+ }
23
+ ]
24
+ }
You can’t perform that action at this time.
0 commit comments