summaryrefslogtreecommitdiffstats
path: root/.eslintrc
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc10
1 files changed, 6 insertions, 4 deletions
diff --git a/.eslintrc b/.eslintrc
index 0adfb7e048..a3ac4028ca 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -13,9 +13,7 @@ plugins:
- eslint-plugin-import
env:
- browser: true
- es6: true
- jquery: true
+ es2020: true
node: true
globals:
@@ -24,9 +22,13 @@ globals:
Dropzone: false
SimpleMDE: false
u2fApi: false
- Tribute: false
overrides:
+ - files: ["web_src/**/*.js"]
+ env:
+ browser: true
+ jquery: true
+ node: false
- files: ["web_src/**/*worker.js"]
env:
worker: true