branding: scrub .tsx defaultMessage source layer + scanner guards it #18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "branding/scrub-tsx-defaultmessages"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Answers "how do I fix the .tsx defaultMessage i18n-extract revert risk": scrub the source layer so extract can only ever regenerate a clean en.json, and extend the scanner to keep it clean.
114 files, +317/-298. CI webpack build is the syntax validator.
Out of scope (documented): ~15 hardcoded JSX strings in dead enterprise/cloud license panels (not i18n), ~40 code identifiers (MattermostFeatures enum etc, not trademark-visible).