Ignore ESLint rules in test file

We don't need to be as strict in our tests files as we are in production
code. Test code can contain English as well as some `innerHTML`
shenanigans.
This commit is contained in:
Kristján Oddsson 2022-01-04 09:37:01 +00:00
Родитель dd805114ec
Коммит 1831a19d73
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -20,7 +20,9 @@
{ {
"files": "test/**/*.js", "files": "test/**/*.js",
"rules": { "rules": {
"github/unescaped-html-literal": "off" "github/unescaped-html-literal": "off",
"github/no-inner-html": "off",
"i18n-text/no-en": "off"
} }
} }
] ]