Skip to content
This repository has been archived by the owner on Jun 18, 2023. It is now read-only.

Code formatting with spotless (prettier) #14

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

timonback
Copy link
Member

The first two commits (+ files) show the spotless configuration.
The formatting uses prettier, while respecting the custom .editorconfig configuration.

The third commit showcases the target formatting.
To avoid merge conflicts with other PRs, this PR should probably merged last and/or the spotlessApply gradle task should be run to fix outstanding formatting issues.

Feel free to suggest other formatters.
I view this as a start for a discussion to apply some formatter to springwolf-core as well.

Spotless (+ gradle plugin): https://github.com/diffplug/spotless
Relates to: springwolf/springwolf-core#93

@timonback timonback force-pushed the feature/code-formatting branch from 2cbefac to 04ba277 Compare October 30, 2022 21:59
@netlify
Copy link

netlify bot commented Oct 30, 2022

Deploy Preview for mellow-manatee-3041fb ready!

Name Link
🔨 Latest commit 04ba277
🔍 Latest deploy log https://app.netlify.com/sites/mellow-manatee-3041fb/deploys/635ef3c4e66a7900076cf4e7
😎 Deploy Preview https://deploy-preview-14--mellow-manatee-3041fb.netlify.app/springwolf-ui/asyncapi-ui
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant