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 ktlint #111

Merged
merged 1 commit into from
Nov 25, 2019
Merged

add ktlint #111

merged 1 commit into from
Nov 25, 2019

Conversation

eschrock
Copy link
Contributor

Proposed Changes

We should have consistent formatting for our kotlin files. This PR adds ktlint, similar to titan-server, but through a maven plugin. To minimize the amount of disruption, I opted for the default of "auto-format on build". This means that every time you run 'mvn install', it will also format your code. That way we're always keeping stuff up to date. It does mean you can technically push badly formatted code (because it auto-fix it and not report an error), but for now this is sufficient. If this becomes a problem, we could alter the PR check to run check separately without formatting.

There are no logic changes in this PR.

Testing

mvn install. Ran getting started e2e tests.

@eschrock eschrock requested a review from a team as a code owner November 25, 2019 02:38
@mcred mcred merged commit 54f8b08 into titan-data:master Nov 25, 2019
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