Skip to content

Allow negation ! for --ignore #1339

Open
@woodconn

Description

@woodconn

Your documentation shows how ignore can handle multiple file paths
https://github.com/htmlhint/HTMLHint/blob/master/docs/user-guide/usage/options.md

However the negation command '!' is currently useless.

This means if I only want to search in a folder, I can't use

!**/GoodFolder/**

Instead I must manually ignore all other folders.

**/BadFolder1/**,......,**/BadFolder8889986767/**

I'd also be ok if you allowed a new rule that would filter paths that could be modified in .htmlhintrc

Metadata

Metadata

Assignees

No one assigned

    Labels

    keep-unstaleThe issue will not be marked as stale by the stale-bot

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions