-
Notifications
You must be signed in to change notification settings - Fork 18
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
Add Makefile (failing linters disabled) #301
Add Makefile (failing linters disabled) #301
Conversation
@pivotal-david-osullivan , @dmikusa , are we settled on this way of running linting? |
@anthonydahanne I think that's a fair question, and worth taking a step back and reviewing. Here's what I can share.
@anthonydahanne and @c0d1ngm0nk3y - Having said all that, I'm open to suggestions. Thoughts? |
@c0d1ngm0nk3y One thing I noticed, that would probably be good to do in this PR, is to remove Richgo. The author no longer recommends using it, so I suspect that it could break or mess up our pipelines. https://github.com/kyoh86/richgo?tab=readme-ov-file#notice-what-i-think-about-richgo |
Sure. I can do this. I just wonder because it is used all over the place (e. |
What is your preferred way? I think it is easy, quite common and I find it very refreshing if related projects (e.g. |
007c12c
to
6c3b236
Compare
|
Signed-off-by: Ralf Pannemans <ralf.pannemans@sap.com>
6c3b236
to
9ef2865
Compare
btw: When rebase, I had to comment out just another linter because of issues. So there is a real benefit in having a linter running in the pr validation. |
That is my impression as well.
That is for me the killer argument. It feels very strange to switch between CNB project and out of the sudden things are done differently.
What would be the alternative? tbh, I do not see a single benefit in doing something special for this project.
Exactly, the complexity is low. So getting familiar with this
But
But running a linter in pr validation is long overdue, isn't it? |
I don't really have strong opinions on this. I mostly said this in case others have strong opinions, to encourage them to speak up. You make good arguments for Makefile, so happy to go along with that.
Agreed. So long as it's not making busy work for the project. We've got plenty of things to do, don't need more work :) It's probably a good target for the v2's, to have clean linted code. |
/easycla |
1 similar comment
/easycla |
/easycla |
1 similar comment
/easycla |
Looks good to me. This is a starting place and we can hone things in as we go. |
fixes #260
first chunk of #293
Summary
This pr adds a
Makefile
and also fixes some linting errors so thatmake lint
will run without error.With the exception that some checks had been deactivated, because the errors were beyond the scope of this.
Use Cases
Checklist