i18next / i18next-parser

Parse your code to extract translation keys/values and manage your catalog files
MIT License
486 stars 198 forks source link

fix: suppress warning about non-literal child when key/defaults are specified #900

Closed glsignal closed 1 year ago

glsignal commented 1 year ago

Why am I submitting this PR

Suppress warnings about non-literal children when both the key and defaults are specified

Does it fix an existing ticket?

Yes #899

Checklist

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage is 90.00% of modified lines.

Files Changed Coverage
src/lexers/jsx-lexer.js 90.00%

:loudspeaker: Thoughts on this report? Let us know!.

karellm commented 1 year ago

Thanks, this is in 8.8.0