-
-
Notifications
You must be signed in to change notification settings - Fork 244
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
feature request: add Makefile linter #1627
Comments
Are you talking about this one ? https://github.com/mrtazz/checkmake That could be doable :) |
Yes, exactly. Also, 🤦 for including everything but that link. |
The doc is not really clear about how to install via commande line on alpine Once they reply it should be quite easy :) |
@wesley-dean it's done :) https://oxsecurity.github.io/megalinter/beta/descriptors/makefile_checkmake/ Please can you check with oxsecurity/megalinter@beta ? :) |
@nvuillam I was able to bump to https://github.com/IMLS/estimating-wifi/runs/7583627032?check_suite_focus=true |
Great, thanks for the feedback :) |
Is your feature request related to a problem? Please describe.
As a developer who uses Makefiles to coordinate building, testing, packaging, and deploying (distributing) source code, so that I may adhere to testable best-practices regarding Makefiles, I would like to add support for a Makefile linter to Megalinter.
Describe the solution you'd like
There currently exists tools that perform linting on Makefiles such as
checkmake
by Daniel Schauenberg (@mrtazz) that's written in Go. There are also packages available on packagecloud not to mention @cytopia 's repo and corresponding image on Dockerhub.Not being deeply knowledgeable about how to add this functionality to Megalinter myself (you may recall how it went the last time I tried to contribute something), I'm afraid that it's improbable that I'll be able to meaningfully help in the of this beyond doing some research, digging up links, etc..
Describe alternatives you've considered
Currently, I run Checkmake directly on my system when I see that a developer has updated a Makefile and I copypasta the results as a comment on their Pull Requests. One could (but I haven't) setup a separate GitHub action to do the linting and post the results.
Additional context
This is not a priority request and I certainly do not wish to detract from the amazing work being done on v6.
The text was updated successfully, but these errors were encountered: