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

checkers: add ruleguard checker #907

Merged
merged 1 commit into from Mar 18, 2020
Merged

Commits on Mar 18, 2020

  1. checkers: add ruleguard checker

    This is part of the ruleguard integration experiment.
    
    Hopefully, we can get some feedback to improve the way it's integrated.
    
    The simplest way to try it out:
    	gocritic check -enable ruleguard -@ruleguard.rules <gorules> <target>
    
    Where:
    	<gorules> is a path to a Go rules file
    	<target> is a linting target
    
    An example gorules file can be found here:
    	https://github.com/quasilyte/go-ruleguard/blob/master/rules.go
    
    Visit https://github.com/quasilyte/go-ruleguard for more info on the ruleguard.
    
    Updates #873
    Updates #869
    Updates #837
    Updates #836
    Updates #831
    
    Signed-off-by: Iskander Sharipov <quasilyte@gmail.com>
    quasilyte committed Mar 18, 2020
    Configuration menu
    Copy the full SHA
    f09aa99 View commit details
    Browse the repository at this point in the history