Skip to content

add ktlint#111

Merged
mcred merged 1 commit intotitan-data:masterfrom
eschrock:feature/ktlint
Nov 25, 2019
Merged

add ktlint#111
mcred merged 1 commit intotitan-data:masterfrom
eschrock:feature/ktlint

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