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 Spotless (GoogleJavaFormat) to IDEA plugin #184

Closed
wants to merge 1 commit into from
Closed

Add Spotless (GoogleJavaFormat) to IDEA plugin #184

wants to merge 1 commit into from

Conversation

JavierSegoviaCordoba
Copy link
Contributor

To ensure the IDEA plugin code is formatted correctly, Spotless will check it every time a push or PR.

I tweaked the plugin workflow created by @jef to just use ./gradlew build which depends on the task spotlessJavaCheck, so it will check if the plugin code compiles, tests pass, and if the code is correctly formatted.

To automatically format the code, run ./gradlew spotlessJavaApply.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 28, 2021
@cgrushko
Copy link
Contributor

Beautiful :)
(after importing, we'll need to wait for someone in the US to review, so probably Monday night Spanish time)

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@cgrushko has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@cgrushko merged this pull request in ccebec3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants