Skip to content

[Idea] Extend html-eslint rules to frameworks & template engines #428

@yeonjuan

Description

@yeonjuan

It might be valuable to make html-eslint rules reusable not only for plain HTML files but also for frameworks (React, Vue, Angular) and template engines (e.g., Handlebars, EJS, Pug).

The idea is to separate the core HTML checking logic into a @html-eslint/core package, and then provide adapters like @html-eslint/react, @html-eslint/vue, @html-eslint/angular, or @html-eslint/handlebars. Each adapter would parse its syntax and run the shared rules through the core engine.

This could bring consistent HTML linting (attributes, accessibility, best practices, SEO/security checks) across plain HTML, JSX/TSX, Vue SFCs, Angular templates, and popular templating engines.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions