Skip to content

Commit

Permalink
chore: reformat and adjust for google-style-java format
Browse files Browse the repository at this point in the history
Signed-off-by: Josef Andersson <[email protected]>
  • Loading branch information
janderssonse committed Feb 18, 2025
1 parent 0dd35d1 commit f16572d
Show file tree
Hide file tree
Showing 68 changed files with 4,136 additions and 3,946 deletions.
4 changes: 3 additions & 1 deletion REUSE.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ path = [
"renovate.json",
"src/test/resources/simplelogger.properties",
"CHANGELOG.md",
"docs/DEVELOPMENT.md",
"**/*/google_checks.xml",
"**/*/eclipse-java-google-style.xml",
"docs/DEVELOPMENT.md",
"jreleaser.yml",
"README.md",
]
Expand Down
396 changes: 396 additions & 0 deletions development/checkstyle/google_checks.xml

Large diffs are not rendered by default.

101 changes: 0 additions & 101 deletions development/checkstyle_prettier.xml

This file was deleted.

4 changes: 2 additions & 2 deletions development/codequality.sh → development/code_quality.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ commit() {
}

format() {
print_header 'FORMATTING (PRETTIER)'
mvn prettier:write "${MAVEN_CLI_OPTS[@]}" -Dcode-quality -DskipTests -Dprettier.nodePath="$(which node)" -Dprettier.npmPath="$(which npm)" -s development/settings.xml
print_header 'FORMATTING (GOOGLE STYLE)'
mvn formatter:format "${MAVEN_CLI_OPTS[@]}" -DskipTests -s development/settings.xml
store_exit_code "$?" "Format" "${MISSING} ${RED}Format check failed, see logs (std out) and fix problems.${NC}\n" "${GREEN}${CHECKMARK}${CHECKMARK} Format check passed${NC}\n"
printf '\n\n'
}
Expand Down
Loading

0 comments on commit f16572d

Please sign in to comment.