eslint-plugin icon indicating copy to clipboard operation
eslint-plugin copied to clipboard

[no-unlocalized-strings] add strict in addition to ignore

Open dan-dr opened this issue 1 year ago • 0 comments

There are times when the built-in checks in no-unlocalized-strings are wrong. i.e. <LazyImage alt="UPPERCASE" /> is considered valid due to uppercase check.

In our case, a lot of titles are uppercase and are given using title attribute.

Would be great if in addition to ignoreAttributes we would have strictAttributes where it skips built-in checks and you must wrap with translation.

dan-dr avatar Apr 28 '24 09:04 dan-dr