eslint / rewrite

Monorepo for the new version of ESLint
Apache License 2.0
65 stars 4 forks source link

fix!: treat `*` as a universal pattern #50

Closed mdjermanovic closed 2 weeks ago

mdjermanovic commented 3 weeks ago

Prerequisites checklist

What is the purpose of this pull request?

Fixes the bug reported in https://github.com/eslint/eslint/issues/18550.

What changes did you make? (Give an overview)

Changed getConfigWithStatus to treat lone * as a universal pattern.

This means that files matching only * will be "unconfigured".

Related Issues

https://github.com/eslint/eslint/issues/18550

Is there anything you'd like reviewers to focus on?

I tagged this as fix! because I think this should be treated as a breaking change for the config-array package.

mdjermanovic commented 3 weeks ago

Rebased to fix merge conflicts, and updated the README.