ESLint plugin that extracts and lints JavaScript from Riot.js tag files (.html and .tag). Version 0.1.8, last released in 2015, with no updates since. It supports ES6, Babel, or JavaScript script blocks within Riot tags but does not handle Riot mini ES6 syntax. The plugin is deprecated in favor of modern alternatives like eslint-plugin-html or directly linting compiled JS.
npm install eslint-plugin-riotNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows installation, config with plugins and settings, and a sample .tag file with ES6 script.
Switch to eslint-plugin-html or directly lint compiled JavaScript files.
Use explicit type attribute: <script type="es6"> ... </script>.
Lint only the script blocks; inline expressions remain unchecked.
Use ESLint 1.x or consider alternative linting approach.
Run npm install --save-dev eslint-plugin-riot and ensure ESLint 1.x is used.
Add '--ext .html,.tag' to ESLint CLI or configure glob patterns in .eslintrc.
Ensure 'riot' is listed in plugins array and the file extension is supported.