File tree 4 files changed +18
-3
lines changed
4 files changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ 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 : '@typescript-eslint/parser' ,
8
+ parser : require . resolve ( '@typescript-eslint/parser' ) ,
9
9
extraFileExtensions : [ '.vue' ] ,
10
10
ecmaFeatures : {
11
11
jsx : true
Original file line number Diff line number Diff line change 43
43
"@typescript-eslint/parser" : " ^2.7.0" ,
44
44
"eslint" : " ^5.0.0 || ^6.0.0" ,
45
45
"eslint-plugin-vue" : " ^5.2.3 || ^6.0.0"
46
+ },
47
+ "dependencies" : {
48
+ "vue-eslint-parser" : " ^7.0.0"
46
49
}
47
- }
50
+ }
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ module.exports = {
5
5
] ,
6
6
7
7
// the ts-eslint recommended ruleset sets the parser so we need to set it back
8
- parser : 'vue-eslint-parser' ,
8
+ parser : require . resolve ( 'vue-eslint-parser' ) ,
9
9
10
10
rules : {
11
11
// this rule, if on, would require explicit return type on the `render` function
Original file line number Diff line number Diff line change @@ -3981,6 +3981,18 @@ vue-eslint-parser@^6.0.5:
3981
3981
esquery "^1.0.1"
3982
3982
lodash "^4.17.11"
3983
3983
3984
+ vue-eslint-parser@^7.0.0 :
3985
+ version "7.0.0"
3986
+ resolved "https://registry.yarnpkg.com/vue-eslint-parser/-/vue-eslint-parser-7.0.0.tgz#a4ed2669f87179dedd06afdd8736acbb3a3864d6"
3987
+ integrity sha512-yR0dLxsTT7JfD2YQo9BhnQ6bUTLsZouuzt9SKRP7XNaZJV459gvlsJo4vT2nhZ/2dH9j3c53bIx9dnqU2prM9g==
3988
+ dependencies :
3989
+ debug "^4.1.1"
3990
+ eslint-scope "^5.0.0"
3991
+ eslint-visitor-keys "^1.1.0"
3992
+ espree "^6.1.2"
3993
+ esquery "^1.0.1"
3994
+ lodash "^4.17.15"
3995
+
3984
3996
vue-property-decorator@^8.3.0 :
3985
3997
version "8.3.0"
3986
3998
resolved "https://registry.yarnpkg.com/vue-property-decorator/-/vue-property-decorator-8.3.0.tgz#536f027dc7d626f37c8d85a2dc02f0a6cb979440"
You can’t perform that action at this time.
0 commit comments