diff --git a/.eslintignore b/.eslintignore
index a18b03a5df..04bae15411 100644
--- a/.eslintignore
+++ b/.eslintignore
@@ -3,4 +3,6 @@
**/vendor/
/_site/
/js/coverage/
+/js/tests/integration/
/site/static/sw.js
+/site/layouts/
diff --git a/js/tests/visual/.eslintrc.json b/js/tests/visual/.eslintrc.json
new file mode 100644
index 0000000000..8a33225720
--- /dev/null
+++ b/js/tests/visual/.eslintrc.json
@@ -0,0 +1,19 @@
+{
+ "plugins": [
+ "html"
+ ],
+ "extends": "../../../.eslintrc.json",
+ "parserOptions": {
+ "sourceType": "module"
+ },
+ "settings": {
+ "html/html-extensions": [
+ ".html"
+ ]
+ },
+ "rules": {
+ "no-console": "off",
+ "no-new": "off",
+ "unicorn/no-array-for-each": "off"
+ }
+}
diff --git a/js/tests/visual/modal.html b/js/tests/visual/modal.html
index 5056c6e7c5..fd93c068ac 100644
--- a/js/tests/visual/modal.html
+++ b/js/tests/visual/modal.html
@@ -201,6 +201,8 @@