Configure check types with --only
mainBy default, i18n-check validates against missingKeys and invalidKeys. You can restrict the execution to specific checks using the --only (or -o) flag.
Available check types:
invalidKeys: Finds translations that are syntactically incorrect (e.g., invalid ICU messages).missingKeys: Finds keys present in the source locale but missing in target locales.unused: Finds keys present in translation files that are not used in the source code.undefined: Finds keys present in translation files that are not used in the source code (often used interchangeably with unused depending on context).
Note: The --check flag is deprecated; use --only instead.