Fix false positives for WebExtension replacement keywords in value-keyword-case #4707
Labels
good first issue
is good for newcomers
status: wip
is being worked on by someone
type: bug
a problem with a feature or rule
Chrome/Firefox extensions have CSS keywords that are replaced at runtime and are case-sensitive. For example:
Which the browser interprets as:
These are mostly used for localization/internalization. Documentation: https://developer.chrome.com/extensions/i18n
value-keyword-case
13.3.2
CLI
Kinda. However it's parsed by the browsers, not a transpiler.
Keywords that match
/__MSG_[^\s]+__/
should be skipped by the rule.The text was updated successfully, but these errors were encountered: