Skip to content

Linting, refactoring#2

Open
Sargeanthost wants to merge 21 commits into
mainfrom
linting
Open

Linting, refactoring#2
Sargeanthost wants to merge 21 commits into
mainfrom
linting

Conversation

@Sargeanthost

Copy link
Copy Markdown

Insanely huge diff, sorry. There should be no functional changes . Please test this branch on the robot before merging to verify.

Used SonarQube and tried to get no nits.

  • Better encapsulation
  • Rename vars to match their functionality
  • Guard clauses
  • Boolean simplification

Added and ran spotless checks on the repo (this seems to have messed up some of the diffing)

  • Used Run on save to do this linting every time I save (add to your user settings json)
    • "emeraldwalk.runonsave": { "commands": [ { "match": "\\.java$", "cmd": ".\\gradlew spotlessJavaApply" } ] },

@Sargeanthost Sargeanthost requested a review from Spakshots April 4, 2026 20:05
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