DenoDDeno
Powered by
staytuned_teamS
Deno•11mo ago
staytuned_team

Support for tags in custom Deno lint plugins

Hi everyone! I’m working on a custom Deno lint plugin that currently defines about ten rules. I’d like to be able to group those rules into named “tags” (for example, frontend, backend, performance, etc.) so that in one project I can enable only the rules tagged frontend and in another project only those tagged backend.

Right now, Deno’s built-in lint rules support tagging and allow you to enable or disable rules by tag, but custom plugins don’t expose that same functionality. Would it be possible to add tag support for custom lint plugins so we can define and consume tags just like the built-in rules? Any guidance on how to implement this or interest in adding it to the core would be greatly appreciated
thanks!
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,944Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Deno lint custom rules
MqxMMqx / help
3y ago
Tags in lint config
Hasan RimawiHHasan Rimawi / help
2y ago
Custom Lint rule not applying in IDE with Deno Extension
cbhscarterCcbhscarter / help
5mo ago
deno lint missing imports
TinoTTino / help
2y ago