CCodemod

i18n/remove-unused-translations

No description available

migration
Public
8 executions
Run locally
npx codemod i18n/remove-unused-translations
Documentation

This codemod removes unused i18n translations.

Example

This codemod supports removing several i18n unused translation patterns. The example below shows only one of the cases that might occur. For an exhaustive list of the supported patterns, please refer to the codemod's test.ts file.

Before:

jsx

After:

jsx

Ready to contribute?

Build your own codemod and share it with the community.