Ilib-lint-webos is a plugin for ilib-lint that adds support for parsing webOS XLIFF files and provides linting rules specific to webOS internationalization. Version 1.3.0, released January 2025, targets Node.js >=14 and uses ESM modules. It is part of the iLib mono-webos repository and focuses on ensuring correct i18n practices for webOS apps. Key differentiators include built-in support for webOS XLIFF format and custom rules for webOS localization constraints.
npm install ilib-lint-webosNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Import the ilib-lint-webos plugin and use it with ilib-lint to lint a webOS XLIFF file.
Use import syntax or set type: 'module' in package.json.
Replace with 'lint(type: 'xlf')' from ilib-lint directly.
Add "plugins": ["ilib-lint-webos"] to your config file.
Ensure your XLIFF files have the correct namespace or the plugin will skip them.
Use import plugin from 'ilib-lint-webos' and ensure your project uses ESM.
Pass the imported plugin object to ilib-lint's constructor or config, do not call new plugin().
Verify plugin is in 'plugins' config and use correct rule name: 'no-unused-strings' (without webos- prefix).