Skip to content

Ability to automatically fix linting errors #1013

@dsherret

Description

@dsherret

It might be useful for lints to include text changes in the lint diagnostic that would fix the diagnostic. For example, no-unused-var could return text changes that would remove unused imports.

This could then be used by a deno lint --fix command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions