Skip to content

[tool proposal] Determine enabled lint rules and their definitions #215

@parlough

Description

@parlough

To help agents create code that follows a project's style expectations on the first try, it might be interesting to provide a tool that exposes a list of all enabled lint rules (including transitively included) for a file. The tool could provide the short description of each rule as well as the link to its docs to learn more if necessary.

\cc @bwilkerson I've been thinking more and more it might make sense to include the messages.yaml files in the built SDK directories (or a compiled JSON version). Then tools like this, the analysis server, and IDEs can find and surface the complete lint and diagnostic docs without redirecting developers (or agents) to the web. That would also open other use cases like surfacing full guidelines for agents trying to resolve specific diagnostics.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions