fix eslint configuration

This commit is contained in:
Andrew Dolgov 2021-02-19 07:07:45 +03:00
parent 00310d2d23
commit 0832dd9d40
1 changed files with 7 additions and 7 deletions

View File

@ -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",