ESLint plugin providing lint rules to prevent usage of non-Latin characters (Chinese, Greek, Japanese, Korean, Russian, Thai) in source code, helping enforce internationalization best practices. Current stable version is 2.4.0. Release cadence is irregular. Key differentiators: simple targeted rules for specific character sets, supports JSX, template literals, and configurable exclusions for identifiers, comments, function arguments, and module imports.
npm install eslint-plugin-i18nVerified import paths — ran on the pinned version, not inferred.
Shows how to install and configure eslint-plugin-i18n to prevent Chinese and Russian characters in source code.
Upgrade Node.js to version 10 or higher.
Use string severity: 'off', 'warn', 'error'.
Refer to docs/rules/<rule-name>.md for exact option names.
Run 'npm install --save-dev eslint-plugin-i18n'.
Ensure eslint-plugin-i18n is installed in the same project as ESLint.
No dependency data recorded yet.