Update dependency checkstyle to v12 #819
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
11.0.1->12.1.1Release Notes
checkstyle/checkstyle (checkstyle)
v12.1.1Checkstyle 12.1.1 - https://checkstyle.org/releasenotes.html#Release_12.1.1
Bug fixes:
#17975 - Incorrect encoding in non-English properties files causing garbled characters in localized messages
#17681 - Google style config and formatter differ on blank line separation
#3110 - some messages are still hardcoded in english
Other Changes:
Update `JavadocCommentsTokenTypes.java` to new format of AST print
Add `rewrite` support for `errorprone.refasterrules`
avoid horizontal scrolling in atclauseorder.html
Wrong tagOrder in AtClauseOrder documentation.
Resolve error-prone violations
Enforce file size on Java inputs
Cover pitest survivals with tests
Define violation messages for all violations
SLF4J configuration warnings when running tests
JVM warnings when running tests
v12.1.0Checkstyle 12.1.0 - https://checkstyle.org/releasenotes.html#Release_12.1.0
New:
#16836 - New check: HexLiteralCase, Hexadecimal literals should use upper case letters A-F
Other Changes:
Add missing property examples to XDocs for Checkstyle Checks
Resolve error-prone violations
Update `JavadocCommentsTokenTypes.java` to new format of AST print
Convert eligible classes to records
test to check indentation trailing comments are vertically aligned
update JavadocTokenTypes.java to new format of AST print
CheckstyleAntTaskTest.testNoFileOrPathSpecified not executed because it's static
Resolving spotbugs violations
Remove ImportControlTest supressions
Deploy configuration-1-3.xsd to the CheckStyle website
Add `id` to `NeedBraces` declaration
v12.0.1Compare Source
Checkstyle 12.0.1 - https://checkstyle.org/releasenotes.html#Release_12.0.1
Bug fixes:
#17131 - SARIF report does not contain information about the failing rules
Other Changes:
Update `JavadocCommentsTokenTypes.java` to new format of AST print
SarifLoggerTest.java to use verifyWithInlineConfigParserAndLogger
XMLLoggerTest.java to use verifyWithInlineConfigParserAndXmlLogger
Enforce file size on Java inputs
Use LexicographicalAnnotationListing for annotations
v12.0.0Compare Source
Checkstyle 12.0.0 - https://checkstyle.org/releasenotes.html#Release_12.0.0
Breaking backward compatibility:
#17514 - New ANTLR Grammar for Javadoc Comments
Other Changes:
doc: update writing javadoc checks page in the documentation
Update `JavadocCommentsTokenTypes.java` to new format of AST print
Fix PackageObjectFactoryTest before/after annotations
XMLLoggerTest.java to use verifyWithInlineConfigParserAndXmlLogger
Define violation messages for all violations
test to check indentation trailing comments are vertically aligned
Resolve error-prone violations
Add missing property examples to XDocs for Checkstyle Checks
v11.1.0Compare Source
Checkstyle 11.1.0 - https://checkstyle.org/releasenotes.html#Release_11.1.0
New:
#17451 - false-negative: whitespace between type annotation and array declarator or ellipsis
Bug fixes:
#17540 - Annotation location rule is not enforced in package-info.java file
#17507 - Google style: Missing support for multipart versioning format using underscores in method names
#17778 - Add support to properly follow Rule
7.1.1 General Formin Google Style Guide Implementation#17825 - --generate-checks-and-files-suppression option generates invalid XML
#13048 - JavadocTagContinuationIndentation: missing support to arbitrary indentation in
<pre>tags#11867 - LineLength gets triggered on multi-line strings for Google Checks
Other Changes:
update JavadocTokenTypes.java to new format of AST print
Fix wrong dtd scheme reference in CLI example
move examples of IllegalImport to compilable folder
LineLength coverage page: missing note about command line exemptions
Add `rewrite` support for `errorprone.refasterrules`
Reuse in metadata module scrapper all methods to get data from javadoc and reflection only
SarifLoggerTest.java to use verifyWithInlineConfigParserAndLogger
Add chechstyle-operewrite recipes to the project.
test to check indentation trailing comments are vertically aligned
Fix Javadoc Warnings: "use of default constructor, which does not provide a comment"
Upgrade all scripts to groovy 3.0.17 or 4.x
doc: make nrmancuso "former"
Convert eligible classes to records
Configuration
📅 Schedule: Branch creation - "after 7am and before 11am every weekday" in timezone Europe/London, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.