Skip to content

[FR]: Non-Git way to ignore directories #610

@jack-bradshaw

Description

@jack-bradshaw

What is the current behavior?

Excluding a directory requires either:

  1. Using .gitattributes (e.g. somedir/** rules-lint-ignored=true)
  2. Using a formatter-specific exclusion (e.g. prettier exclusion file).

This is documented here.

Describe the feature

Please consider adding an exclusion mechanism that allows path-based exclusion but is not coupled to git, so that users of other VCS systems can apply the path-based exclusion system available with .gitattributes. For example, it could be a .rules_lint_exclusions file in the root that functions effectively the same as .gitattributes exclusions, just without any reference to git. This would significantly improve the usefulness of the rule set for non-git VCS users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions