diff --git a/.eslintignore b/.eslintignore index a18b03a5df54..04bae15411b1 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 000000000000..8a3322572058 --- /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 5056c6e7c549..fd93c068ac03 100644 --- a/js/tests/visual/modal.html +++ b/js/tests/visual/modal.html @@ -201,6 +201,8 @@