summaryrefslogtreecommitdiff
path: root/.eslintrc.json
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-16 21:11:18 -0500
committerGitHub <noreply@github.com>2020-02-16 21:11:18 -0500
commitab2cec04795e1b3b3f3681d6fe609fb1462ee711 (patch)
tree0e47f4702c4b4ed40af58346826ec9d6a3b6d03e /.eslintrc.json
parentc6efa656268b93c612f3f4f9c5de0a2523506902 (diff)
parente83167dcd1f40ed8c9fd0f2f1039717b61175e9e (diff)
Merge pull request #352 from toasted-nutbread/github-actions
Setup GitHub actions
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 bda308e2..a350bce4 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": [
{