Skip to content

Commit 1831a19

Browse files
committed
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.
1 parent dd80511 commit 1831a19

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.eslintrc.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
{
2121
"files": "test/**/*.js",
2222
"rules": {
23-
"github/unescaped-html-literal": "off"
23+
"github/unescaped-html-literal": "off",
24+
"github/no-inner-html": "off",
25+
"i18n-text/no-en": "off"
2426
}
2527
}
2628
]

0 commit comments

Comments
 (0)