File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -5,13 +5,17 @@ module.exports = {
5
5
// in turn delegates to the parser, specified in `parserOptions.parser`:
6
6
// https://github.com/vuejs/eslint-plugin-vue#what-is-the-use-the-latest-vue-eslint-parser-error
7
7
parserOptions : {
8
- parser : require . resolve ( '@typescript-eslint/parser' )
8
+ parser : '@typescript-eslint/parser'
9
9
} ,
10
+ extends : [
11
+ 'plugin:@typescript-eslint/eslint-recommended'
12
+ ] ,
10
13
rules : {
11
- // https://typescript-eslint.io/parser
12
- 'no-undef' : 'off' ,
14
+ // The core 'no-unused-vars' rules does not work with type definitions
13
15
'no-unused-vars' : 'off' ,
16
+
14
17
// https://github.com/typescript-eslint/typescript-eslint/issues/46
18
+ // And several other bugs
15
19
// '@typescript-eslint/no-unused-vars': 'error',
16
20
17
21
// temporary fix for https://github.com/vuejs/vue-cli/issues/1922
You can’t perform that action at this time.
0 commit comments