Skip to content

Add the Nds4j Eclipse style gate without reformatting existing Java. - #10

Merged
turtleisaac merged 2 commits into
mainfrom
cursor/java-style-gate
Nov 10, 2026
Merged

turtleisaac merged 2 commits into
mainfrom
cursor/java-style-gate

Conversation

@turtleisaac

Copy link
Copy Markdown
Owner

Spotless checks only changed Java files, compared with origin/main.

src/main/generated-sources is excluded.

Checkstyle checks for LF line endings, a final newline, and no tabs.

Tab-indented files are suppressed: GameFiles, TrainerAiParser, TrainerAiData, FieldScriptData, GenericScriptData, and CommandDiscoverer. JohtoEncounterParser is also suppressed because it has no final newline.

The agent rule leaves a blank line after a for/while loop unless the loop ends the block.

No Java source is reformatted.

Nds4j: turtleisaac/Nds4j#9

Open in Web Open in Cursor 

turtleisaac and others added 2 commits November 10, 2026 00:37
Spotless checks only files that differ from origin/main. JFormDesigner files and generated ANTLR are excluded. Checkstyle checks LF, a final newline, and no tabs, with the files that already miss those grandfathered.

The agent rule says to leave a blank line after a for or while, unless that loop is the last thing in the method.
Co-authored-by: turtleisaac <turtleisaac@users.noreply.github.com>
@turtleisaac
turtleisaac merged commit 2bd96ed into main Nov 10, 2026
2 checks passed
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