Skip to content

Added Checkstyle for Java code style checking #35

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

dhruvarayasam
Copy link
Contributor

@dhruvarayasam dhruvarayasam commented Jul 1, 2025

Overview

  • Added Maven Checkstyle version 3.6.0- this is the latest version on Maven, but this version is out of date with the latest checkstyle releases. 3.6.0 specifically refers to Checkstyle release 9.3.
  • Added google_checks.xml --> this had to be modified to accomodate for the version of Checkstyle that's on Maven, which included removing some functionality like SupressNearbyTextFilter.
  • Added corresponding Github action.
  • References Set Up Linters and Code Style Checkers #16

Considerations:

  • The version of Checkstyle this is using was released in 2022.
  • google_checks.xml had to be modified from the official release on Checkstyle's github repo.
  • The current code fails a lot of checkstyle standards:
image

@mikepapadim mikepapadim requested review from Copilot and mikepapadim and removed request for Copilot July 1, 2025 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant