I turned on rules that seem to make sense for the default case
Enforce defaultMessage so stuff doesn't show up blank at first
Enforce description to provide context for translators
Let IDs be autogenerated as FormatJS recommends
Avoid too-complicated message variants
I didn't turn on the one banning literal strings in JSX, yet, but once every message is internationalized, we could to prevent accidentally not translating something. We would want to add exceptions for deliberately untranslated things like the BikeHopper project name.
See: https://formatjs.io/docs/tooling/linter/
I turned on rules that seem to make sense for the default case
I didn't turn on the one banning literal strings in JSX, yet, but once every message is internationalized, we could to prevent accidentally not translating something. We would want to add exceptions for deliberately untranslated things like the BikeHopper project name.