Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Glob patterns instead of regex for include / exclude #45

Open
2 tasks done
cmahnke opened this issue Nov 10, 2024 · 0 comments
Open
2 tasks done

Use Glob patterns instead of regex for include / exclude #45

cmahnke opened this issue Nov 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@cmahnke
Copy link

cmahnke commented Nov 10, 2024

Describe the feature you'd like to request

It's a common practise to use glob patterns for include / exclude configurations, there are several existing modules like https://github.com/kaelzhang/node-ignore which is for example used by stylelint and implements well known .gitignore syntax

Describe the solution you'd like

A solution which fits in the expectations of the broader ecosystem, nothing special to a single plugin, which is even hand rolled.

Make .gitignore syntax the default

Additional context

Having string[] as possible argument, but not regex[] is also a bit counter intuitive

Validations

  • Read the docs.
  • Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.
@cmahnke cmahnke added the enhancement New feature or request label Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant