Skip to content

[BUG] Missing types for the plugin package #420

@fluiderson

Description

@fluiderson

Describe the bug

@html-eslint/eslint-plugin uses types from the @html-eslint/types package but doesn't have it in dependencies. As a result, TypeScript is unable to typecheck the plugin.

To reproduce

https://stackblitz.com/edit/vitejs-vite-lyrd8apg?file=tsconfig.node.json&startScript=build

Expected behavior

No errors from tsc.

Additional context

Can be worked around by setting skipLibCheck to true in a TS config, or by adding @html-eslint/types to dependencies of a linted project.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions