Skip to content

[FR]: Ignore linting via .gitattributes #809

@stevendee-recon

Description

@stevendee-recon

What is the current behavior?

Putting rules-lint-ignored=true in .gitattributes excludes files from formatting, but lint errors still show up in aspect lint.

Describe the feature

It'd be nice if linting could also respect .gitattributes, either with the same annotation or a different one.

Alternatively, having a way to pass the no-lint tag to all subpackages, or to instruct gazelle to emit this tag in subpackages, would be nice.

The goal being achieved here is to exclude e.g. //users (or //vibe) from linting by default; it may not even be a well-formed goal, so I will also happily accept better goals as resolutions for this FR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions