Skip to content

[Java] Enable code review and formatting code through Spotless Maven plugin #39712

@davisusanibar

Description

@davisusanibar

Describe the enhancement requested

As Java code increases, it will become increasingly important to implement code formatter best practices. As a result, we will be able to use spotless to:

  • Reviewing code: Spotless can be used to identify issues related to format.
  • Formatting code: Spotless can be used to automatically fix common formatting mistakes, such as spaces, newlines, and unnecessary imports.

This enhancement will propose replacing maven-checkstyle-plugin with spotless-maven-plugin, which is currently used by Java.

Component(s)

Java

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions