ignore weirder cases
This commit is contained in:
parent
30d53de356
commit
f11536c927
2 changed files with 8 additions and 1 deletions
|
|
@ -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] },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue