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

[Linter] Upgrade Checkstyle plugin to 3.1.2 supporting Checkstyle version up to 8.41 #1226

Conversation

Batta32
Copy link
Contributor

@Batta32 Batta32 commented Jun 9, 2021

Fixes #1215

Description

The current Checkstyle rules cannot be consumed by the Checkstyle plugin greater or equal than 8.24. For this, we updated the checkstyle plugin integrated in the pom.xml from 3.1.0 to 3.1.2 (latest) which defaults to checkstyle 8.29.

With the update of the rules, we support up to the checkstyle version 8.41 inclusive, solving the breaking change mentioned in the checkstyle release 8.24.

Last but not least, the checkstyle version 8.42 has another breaking change which is not supported with this PR.

image

Specific Changes

  • Upgrade checkstyle plugin to latest 3.1.2 which defaults to checkstyle 8.29
  • Update rules to support Checkstyle version up to 8.41
  • Fix linter issues

Testing

mvn clean install passing correctly
image

@Batta32 Batta32 requested review from LeeParrishMSFT and tracyboehrer and removed request for LeeParrishMSFT June 9, 2021 14:49
@tracyboehrer tracyboehrer merged commit 104b7e8 into microsoft:main Jun 9, 2021
@Batta32 Batta32 deleted the external/feature/southworks/linter/update-version branch June 9, 2021 15:06
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.

[Linter] CheckStyle rules doesn't work with IntelliJ's CheckStyle plugin greater or equal than 8.24
2 participants