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

feat: update one-var for class static blocks #15317

Merged
merged 1 commit into from Nov 17, 2021
Merged

Commits on Nov 15, 2021

  1. feat: update one-var for class static blocks

    Fixes false positives of the `one-var` rule with option `"always"` where the rule suggests combining declarations from a class static block with declarations from the upper scope.
    
    Also enables autofixing declarations at the top level of class static blocks with option `"never"`.
    
    Refs #15016
    mdjermanovic committed Nov 15, 2021
    Copy the full SHA
    a9a8c3f View commit details
    Browse the repository at this point in the history