1
0
mirror of https://git.boykissers.com/pawkey/pawkey-sk.git synced 2025-12-20 04:04:16 +00:00

ignore weirder cases

This commit is contained in:
dakkar
2024-10-16 15:56:48 +01:00
parent 30d53de356
commit f11536c927
2 changed files with 8 additions and 1 deletions

View File

@@ -11,6 +11,8 @@ ruleTester.run(
{
valid: [
{code: 'i18n.ts.foo.bar', options: [locale] },
// we don't detect the problem here, but should still accept it
{code: 'i18n.ts.foo["something"]', options: [locale] },
{code: 'i18n.ts.top', options: [locale] },
{code: 'i18n.tsx.foo.baz({x:1})', options: [locale] },
{code: 'whatever.i18n.ts.blah.blah', options: [locale] },