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

Improve empty-string-compare rule #1480

Merged
merged 1 commit into from Mar 18, 2021
Merged

Improve empty-string-compare rule #1480

merged 1 commit into from Mar 18, 2021

Commits on Mar 18, 2021

  1. Improve empty-string-compare rule

    - rewrite matching to avoid line processing and trigger only on when
      blocks, highly reducing the chance of false-positives
    - add additional pass test to avoid future regression
    - refactor rule to use embedded tests
    
    Fixes: #1232
    ssbarnea committed Mar 18, 2021
    Configuration menu
    Copy the full SHA
    53a0efd View commit details
    Browse the repository at this point in the history