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:
Родитель
dd805114ec
Коммит
1831a19d73
|
@ -20,7 +20,9 @@
|
|||
{
|
||||
"files": "test/**/*.js",
|
||||
"rules": {
|
||||
"github/unescaped-html-literal": "off"
|
||||
"github/unescaped-html-literal": "off",
|
||||
"github/no-inner-html": "off",
|
||||
"i18n-text/no-en": "off"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
Загрузка…
Ссылка в новой задаче