Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

checkstyle 8.33 -> 8.36.1 #1496

Merged
merged 2 commits into from
Sep 18, 2020
Merged

Conversation

iamdanfox
Copy link
Contributor

@iamdanfox iamdanfox commented Sep 18, 2020

I tried to use a record but got a lame error:

[ant:checkstyle] Running Checkstyle 8.33 on 4 files
[ant:checkstyle] [ERROR] /Volumes/git/template-witchcraft/witchcraft-example/src/main/java/com/palantir/witchcraftexample/WitchcraftExampleResource.java:19:12: Method name 'Foo' must match pattern '^[a-z][a-zA-Z0-9_]+$'. [MethodName]

After this PR

I think support was just added to checkstyle in checkstyle/checkstyle#8023 (8.35), but figured we might as well dial up to latest 🤷.

Release notes here: https://checkstyle.sourceforge.io/releasenotes.html

==COMMIT_MSG==
checkstyle 8.33 -> 8.36.1
==COMMIT_MSG==

I trialled this locally by setting:

    checkstyle {
        toolVersion = '8.36.1'
    }

Possible downsides?

  • new rules might wreck us in new and exciting ways.

@changelog-app
Copy link

changelog-app bot commented Sep 18, 2020

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

checkstyle 8.33 -> 8.36.1, which enables support for new language features like records.

Check the box to generate changelog(s)

  • Generate changelog entry

@policy-bot policy-bot bot requested a review from CRogers September 18, 2020 16:22
Copy link
Contributor

@carterkozak carterkozak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm -- please test on a real project before merging :-)

@iamdanfox
Copy link
Contributor Author

Verified it passed on contour :)

@bulldozer-bot bulldozer-bot bot merged commit c785e79 into develop Sep 18, 2020
@bulldozer-bot bulldozer-bot bot deleted the dfox/try-updating-checkstyle branch September 18, 2020 16:40
@svc-autorelease
Copy link
Collaborator

Released 3.39.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants