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

Add an editor config, a mvn goal and a ci action to check code conventions #507

Closed
wants to merge 4 commits into from

Conversation

egli
Copy link
Collaborator

@egli egli commented Nov 1, 2021

This PR adds a cross editor config file, a Maven goal that uses the config to check the source code and finally a github action to check every commit for these conventions via maven.

Should fix at least in part #476.

When running the mvn goal quite a few files have problems. These can easily be fixed with mvn editorconfig:format. But I think such a global change should go in a separate PR.

@egli
Copy link
Collaborator Author

egli commented Nov 1, 2021

Just FYI to see what the kind of code convention problems are check the output of the github action.

@egli egli requested a review from josteinaj November 1, 2021 09:15
pom.xml Outdated Show resolved Hide resolved
@josteinaj
Copy link
Member

Looks great, thanks @egli!

@josteinaj
Copy link
Member

I'm not sure how to change the base branch of a PR, but I merged it into guidelines-revision here: 502ff18

@josteinaj josteinaj closed this Nov 1, 2021
@josteinaj josteinaj deleted the editorconfig branch November 1, 2021 11:51
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.

2 participants