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

Look for license headers in some range at the top of files #7

Open
mlegner opened this issue Mar 6, 2024 · 0 comments
Open

Look for license headers in some range at the top of files #7

mlegner opened this issue Mar 6, 2024 · 0 comments

Comments

@mlegner
Copy link
Contributor

mlegner commented Mar 6, 2024

Currently, the tool requires the license header at the very top of files. However, in some cases the first line(s) of a file MUST have a particular content for some reason. A typical example is something like #!/bin/bash for shell scripts.

It would be great if the tool would look for the license header within some range of the top (maybe configurable?), at least when running it with check. That would allow adding the header manually for files where it shouldn't be at the very top but not having to explicitly ignore those.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant