You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The rule should trigger an error when the key used for translation is not final.
At the moment, if we ask for a translation on a key that is not final (meaning it contains child keys), no error is triggered. This is particularly problematic on large code bases where people might change the dictionary key layout.
What category should the rule belong to?
Enforces code style (layout)
Warns about a potential error (problem)
Suggests an alternate way of doing something (suggestion)
Please describe what the rule should do:
no-nonfinal-keys
The rule should trigger an error when the key used for translation is not final.
At the moment, if we ask for a translation on a key that is not final (meaning it contains child keys), no error is triggered. This is particularly problematic on large code bases where people might change the dictionary key layout.
What category should the rule belong to?
Example:
eslint-plugin-vue-i18n
should trigger an error asapp.save
is not a final key.The text was updated successfully, but these errors were encountered: