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