An ilib-lint plugin providing rules and rulesets for linting localized string resources extracted from JavaScript files. Current stable version is 1.1.1, released as part of the ilib-mono repository. It checks ilib-style plural syntax and plural categories for target locales, enforcing correct resource formatting in JavaScript/i18n projects. Requires Node.js >=12 and is ESM-only. The plugin integrates via ilib-lint configuration and is designed for use within iLib localization toolchains.
npm install ilib-lint-javascriptNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configures ilib-lint to use the JavaScript plugin with plural rules.
Use Node.js >=12 and import with ESM syntax.
Upgrade to Node.js >=18.
Ensure "plugins" array contains exactly "ilib-lint-javascript".
Use ilib-lint with appropriate file type plugins to extract resources.
Convert plural strings to ilib syntax before linting.
Change to import statement or set { "type": "module" } in package.json.Run 'npm install --save-dev ilib-lint-javascript'.
Verify plugin is in ilib-lint-config.json plugins array and rule name is correct.
Check export structure; use correct import syntax.
No dependency data recorded yet.