aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/.eslintrc.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/.eslintrc.json b/js/.eslintrc.json
index cc4e58ebd..7316e6f22 100644
--- a/js/.eslintrc.json
+++ b/js/.eslintrc.json
@@ -7,6 +7,7 @@
"jquery": true
},
"extends": "eslint:recommended",
+ "plugins": ["compat"],
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "module"
@@ -17,6 +18,7 @@
"no-extra-parens": "error",
"no-prototype-builtins": "error",
"no-template-curly-in-string": "error",
+ "compat/compat": "error",
"valid-jsdoc": "error",
// Best Practices