From 551d207ee37dd775b2e575b6a91de03af5b78a9e Mon Sep 17 00:00:00 2001 From: Thorsten Date: Sat, 29 Sep 2018 13:17:05 +0200 Subject: [PATCH] fix(cli-service-global): fix eslint-loader config: include parserOptions to use babel-eslint --- packages/@vue/cli-service-global/lib/globalConfigPlugin.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/@vue/cli-service-global/lib/globalConfigPlugin.js b/packages/@vue/cli-service-global/lib/globalConfigPlugin.js index d819c0b9c4..3fbc8a46f7 100644 --- a/packages/@vue/cli-service-global/lib/globalConfigPlugin.js +++ b/packages/@vue/cli-service-global/lib/globalConfigPlugin.js @@ -107,7 +107,10 @@ module.exports = function createConfigPlugin (context, entry, asLib) { extends: [ 'plugin:vue/essential', 'eslint:recommended' - ] + ], + parserOptions: { + parser: 'babel-eslint' + } } }))