Skip to content

Commit

Permalink
fix (ide): Bump google-java-formatter from 1.20.0 to 1.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vorburger authored Mar 7, 2024
1 parent ed2b175 commit 969bef1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ repos:
hooks:
- id: pretty-format-java
# Keep this version in sync with the same version in .vscode/settings.json
args: [--autofix, --aosp, --google-java-formatter-version=1.20.0]
args: [--autofix, --aosp, --google-java-formatter-version=1.21.0]

- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.12.1
Expand Down
4 changes: 1 addition & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,7 @@
"java.format.settings.google.extra": "--aosp", // For 4 instead of 2 spaces!
// Keep this version in sync with the same version in .pre-commit-config.yaml
// NB: Changes to this are only taken into account on start-up, so need to restart.
"java.format.settings.google.version": "1.20.0",
// TODO Remove when https://github.com/google/google-java-format/issues/1072 is fixed:
"java.format.settings.google.mode": "jar-file",
"java.format.settings.google.version": "1.21.0",
// TODO https://github.com/eclipse-jdtls/eclipse.jdt.ls/issues/3050
"java.compile.nullAnalysis.mode": "automatic",
"java.completion.importOrder": ["#", "", "javax", "java"], //# is static
Expand Down

0 comments on commit 969bef1

Please sign in to comment.