Skip to content

Support ignoring files in glob checkers #271

Open
@hyandell

Description

@hyandell

New Feature

For example, file-not-exists supports globs. We use it to have a rule that flags if there are hidden files (.*) in a codebase, but we want to not flag on .gitignore and .gitkeep.

The underlying JS API supports passing an ignore array through, so updating each function/rule to support ignoring would suffice. In light local testing, this worked fine.

Expected Behavior

Each glob supporting rule would have an ignore parameter that has a list of ignorables.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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