eslint-plugin-html icon indicating copy to clipboard operation
eslint-plugin-html copied to clipboard

An ESLint plugin to extract and lint scripts from HTML files.

Results 34 eslint-plugin-html issues
Sort by recently updated
recently updated
newest added

## Description In the codebase I'm looking at, we have plenty of Twig code blocks using the {% twigcode %} with the Javascript code (if statements, includes of other files...),...

## Description ESLint no-unused-vars rule reports all jsx components declared in HTML as unused. Linting the following html would report `'App' is assigned a value but never used` error: ```html...

## Description ``` $ DEBUG=eslint:eslint npm run lint > [email protected] lint > eslint wwwroot Views eslint:eslint Using config loader LegacyConfigLoader +0ms eslint:eslint Using file patterns: wwwroot,Views +1ms eslint:eslint Deleting cache...