Sourced from i18next-cli's changelog.
1.69.0
- feat(lint): support
acceptedTags: 'all'to lint every JSX tag, including custom components, instead of the recommended built-in tag list. Useful together withacceptedAttributesin codebases with many custom JSX elements where maintaining an explicit tag accept-list is impractical.ignoredTagsandtransComponentsstill take precedence, and the default behavior whenacceptedTagsis unset is unchanged (#282).1.68.0
- feat(status): add
--unusedto report only unused translation keys — keys present in the translation files but no longer used in the source code. "Unused" is defined as whatextractwithremoveUnusedKeyswould delete: the report runs the extractor in dry-run mode (withremoveUnusedKeysforced on, regardless of the config) and diffs the existing key set against the pruned result, so it inherits all of extract's edge-case handling (plural variants, context variants,preservePatterns,ignoreNamespaces). The command never modifies any files and exits with a non-zero status code when unused keys are found (or when source files failed to parse, since that could cause false positives), making it a dedicated CI check alongside the missing-translations checkstatus <locale>. Combines with the locale argument and--namespace, e.g.i18next-cli status en --unused. Note that static analysis cannot detect dynamically constructed keys; to find keys that are truly unused at runtime, see https://www.locize.com/docs/guides/find-unused-translations (#281).
eacc2be
1.69.028caa1b
feat(lint): support acceptedTags: 'all' to lint every tag including
custom co...4c61b53
fix(test): make the status --unused read-only assertion pass on
Windows0962adb
1.68.07295a41
feat(status): add --unused to report only unused translation keys (#281)