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

feat: add checkstyle linter locally before run too #28

Closed
wants to merge 11 commits into from

Conversation

markkovari
Copy link
Contributor

@markkovari markkovari commented Jul 11, 2024

Our linter - watchdog is biting in our hands. We should do that more often to make this process less inconvenient. We should not even be able to build/test or other scripts with errors/warnings.

How to reproduce locally:

follow to instructions how to install (I created a script for that)

aaaaand that should be it, you won't be able to commit invalid code.

https://www.youtube.com/watch?v=d70a8PXbrb8

@markkovari markkovari force-pushed the chore/local-checkstyle-linter branch 2 times, most recently from 8dbad3f to 61730b0 Compare July 11, 2024 09:41
Signed-off-by: Márk Kővári <kovarimarkofficial@gmail.com>
@markkovari markkovari force-pushed the chore/local-checkstyle-linter branch from 61730b0 to 5d814b9 Compare July 11, 2024 09:56
@markkovari markkovari marked this pull request as draft July 11, 2024 13:08
Copy link
Contributor

@carlos-ponton carlos-ponton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! This will help us to minimize the commits that we create to make reviewdog happy.

Copy link
Collaborator

@AnnaUgrai AnnaUgrai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@Hsbalazs Hsbalazs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@markkovari
Copy link
Contributor Author

Maybe extend it with precommit hook to prevent it even to commit bad code.

@markkovari markkovari marked this pull request as ready for review July 14, 2024 11:01
@markkovari markkovari marked this pull request as draft July 14, 2024 17:13
@markkovari
Copy link
Contributor Author

Not the same as watchdog.

@markkovari markkovari closed this Jul 16, 2024
@markkovari markkovari deleted the chore/local-checkstyle-linter branch July 30, 2024 16:00
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

Successfully merging this pull request may close these issues.

4 participants