aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.json
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index d4ae215b..39c5e964 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -10,6 +10,7 @@
"es2017": true,
"webextensions": true
},
+ "plugins": ["no-unsanitized"],
"ignorePatterns": [
"/ext/mixed/lib/",
"/ext/bg/js/templates.js"
@@ -32,7 +33,9 @@
"quote-props": ["error", "consistent"],
"quotes": ["error", "single", "avoid-escape"],
"require-atomic-updates": "off",
- "semi": "error"
+ "semi": "error",
+ "no-unsanitized/method": "error",
+ "no-unsanitized/property": "error"
},
"overrides": [
{