From abeac1852e1b78ffde9e3abfe89e02c3811a93fe Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Fri, 16 Aug 2019 23:29:50 +0200 Subject: [PATCH] Update eslint config Signed-off-by: Knut Ahlers --- src/.eslintrc.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/.eslintrc.js b/src/.eslintrc.js index ebcafcb..43cf211 100644 --- a/src/.eslintrc.js +++ b/src/.eslintrc.js @@ -4,26 +4,23 @@ module.exports = { 'root': true, 'parserOptions': { parser: 'babel-eslint', - sourceType: 'module', }, 'env': { - node: true, + browser: true, }, 'extends': [ /* * https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention * consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules. */ - 'plugin:vue/essential', + 'plugin:vue/recommended', // https://github.com/standard/standard/blob/master/docs/RULES-en.md 'eslint:recommended', ], // required to lint *.vue files 'plugins': ['vue'], 'globals': { - locale: true, process: true, - version: true, }, // add your custom rules here 'rules': {