summaryrefslogtreecommitdiff
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-19 07:07:45 +0300
committerAndrew Dolgov <[email protected]>2021-02-19 07:07:45 +0300
commit0832dd9d40c703d5d0bebf7f2392174acb602ec2 (patch)
treed95dea1e6dd635ee4f01abaec5ae933af9e93126 /.eslintrc.js
parent00310d2d23dd459c17b3f6e86a127de348b330f8 (diff)
fix eslint configuration
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js14
1 files 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",