An ESLint plugin that lints Eta v3 template files. Version 3.0.1 is current and stable, with a low release cadence. It processes .eta files through a custom processor, enabling ESLint rules on Eta templates. Key differentiators: built specifically for Eta v3, supports JavaScript-like syntax inside templates, and integrates seamlessly with standard ESLint workflows. Alternatives like eslint-plugin-eta target older Eta versions. Requires ESLint >=8 and eta >=3 as peer dependencies.
npm install eslint-plugin-eta-3No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows installation, plugin and processor configuration for ESLint, and an example template to lint.
Ensure eta package is version 3.x.
In ESLint config, use processor: 'eta-3/eta'.
Upgrade ESLint to version 8 or higher.
Use files: ['*.eta'] (not '.eta' or '**/*.eta').
Run npm install --save-dev eslint-plugin-eta-3
Run npm install eta@^3
In ESLint config, use processor: 'eta-3/eta' under the override.
Ensure ESLint version is 8.x; check rule documentation.