From a27b269d7c0b2f81ed367d8178d4554136940a16 Mon Sep 17 00:00:00 2001 From: Brecert <11599528+Brecert@users.noreply.github.com> Date: Fri, 22 Feb 2019 16:32:18 -0600 Subject: [PATCH] redid eslint --- .eslintrc.js | 26 ++++++++++++++++++++++++++ .eslintrc.json | 24 ------------------------ 2 files changed, 26 insertions(+), 24 deletions(-) create mode 100644 .eslintrc.js delete mode 100644 .eslintrc.json diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000..122372d --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,26 @@ +module.exports = { + "env": { + "browser": true, + "commonjs": true, + "es6": true, + "node": true + }, + "extends": [ + "eslint:recommended", + "plugin:vue/essential" + ], + "globals": { + "Atomics": "readonly", + "SharedArrayBuffer": "readonly" + }, + "parserOptions": { + "ecmaVersion": 2018 + }, + "plugins": [ + "vue" + ], + "rules": { + "no-console": "off", + "no-unused-vars": "off" + } +}; \ No newline at end of file diff --git a/.eslintrc.json b/.eslintrc.json deleted file mode 100644 index b8171a5..0000000 --- a/.eslintrc.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "root": true, - "env": { - "node": true, - "browser": true - }, - "extends": ["plugin:vue/essential", "eslint:recommended"], - "plugins": ["@vue"], - "rules": { - "no-console": "off", - "no-unused-vars": [ - "off", - { - "args": "after-used", - "ignoreRestSiblings": true - } - ] - }, - "parserOptions": { - "parser": "babel-eslint", - - "sourceType": "module" - } -}