Skip to content

Using Spotless for formatting#56

Merged
dedece35 merged 2 commits into
green-code-initiative:mainfrom
pbaumard:feature/spotless
Jul 4, 2026
Merged

Using Spotless for formatting#56
dedece35 merged 2 commits into
green-code-initiative:mainfrom
pbaumard:feature/spotless

Conversation

@pbaumard

@pbaumard pbaumard commented Jan 6, 2025

Copy link
Copy Markdown
Contributor
  • Reorganized sections since this code style is not only for Java.
  • Removed format rules since they are defined by Spotless.

Note:

  • related to Spotless formatting creedengo-rules-specifications#366 including the reference pom.xml with Spotless configuration.
  • thousands of Open Source projects are already using Spotless, including major ones such as Apache Maven. It makes it much easier to:
    • apply the common format with mvn spotless:apply for contributors
    • check that the common format is applied in build with spotless:check goal included in pom

- Reorganized sections since this code style is not only for Java.
- Removed format rules since they are defined by Spotless.
@dedece35
dedece35 merged commit fea3b86 into green-code-initiative:main Jul 4, 2026
2 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog - need check to Done in Hackathon Kanban - COMMON Jul 4, 2026
@dedece35

dedece35 commented Jul 4, 2026

Copy link
Copy Markdown
Member

HI @pbaumard,
thank you for contribution.
I'm ok to apply "spotless" framework but I think we have to define our configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants