nikku / eslint-plugin-license-header

Rules to validate the presence of license headers in source files.
MIT License
27 stars 9 forks source link

Ability to specify multiple headers / regex matcher #14

Open Vendicated opened 1 year ago

Vendicated commented 1 year ago

Is your feature request related to a problem? Please describe

I would like to switch from https://github.com/Stuk/eslint-plugin-header to your library because Stuk's has a lot of bugs for me (and doesn't seem maintained anymore) and yours works way better

However, your library seems to not have a way to specify a regex matcher or multiple valid headers, which would be useful for a multitude of reasons:

Describe the solution you'd like

Describe alternatives you've considered

For some of the above mentioned use cases, an alternative is to edit every single file, but that adds a lot of noise to git history, so this is not really something I want to do

nikku commented 7 months ago

Happy to take a contribution that incorporates that change.