From 0832dd9d40c703d5d0bebf7f2392174acb602ec2 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 19 Feb 2021 07:07:45 +0300 Subject: [PATCH] fix eslint configuration --- .eslintrc.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 523ada08e..d2f24d663 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,13 +1,13 @@ module.exports = { "env": { "browser": true, - "ecmaVersion": 8, - "jquery": true, - "webextensions": true + "es6": true, + "jquery": false, + "webextensions": false }, "extends": "eslint:recommended", "parserOptions": { - "ecmaVersion": 2017 + "ecmaVersion": 2018 }, "rules": { "accessor-pairs": "error", @@ -106,7 +106,7 @@ module.exports = { "no-catch-shadow": "off", "no-confusing-arrow": "error", "no-continue": "off", - "no-console": "off", + "no-console": "off", "no-div-regex": "error", "no-duplicate-imports": "error", "no-else-return": "off", @@ -187,7 +187,7 @@ module.exports = { "no-trailing-spaces": "error", "no-undef-init": "error", "no-undefined": "off", - "no-undef": "warn", + "no-undef": "warn", "no-underscore-dangle": "off", "no-unmodified-loop-condition": "error", "no-unneeded-ternary": [ @@ -197,7 +197,7 @@ module.exports = { } ], "no-unused-expressions": "off", - "no-unused-vars": "warn", + "no-unused-vars": "warn", "no-use-before-define": "off", "no-useless-call": "error", "no-useless-computed-key": "error",