summaryrefslogtreecommitdiffstats
path: root/.eslintrc
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/.eslintrc b/.eslintrc
index 76e6f8c48d..8fd53d54a1 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -24,6 +24,13 @@ globals:
SimpleMDE: false
u2fApi: false
+overrides:
+ - files: ["web_src/**/*.worker.js"]
+ env:
+ worker: true
+ rules:
+ no-restricted-globals: [0]
+
rules:
arrow-body-style: [0]
arrow-parens: [2, always]