class
Shards::PolicyReport
- Shards::PolicyReport
- Reference
- Object
Defined in:
policy_report.crConstructors
Instance Method Summary
- #add_violation(package : String, rule : String, severity : Severity, message : String)
- #clean?
- #errors
- #exit_code(strict : Bool = false) : Int32
- #has_errors?
- #has_warnings?
- #to_json_output(io : IO)
- #to_terminal(io : IO, colors : Bool = Shards.colors?)
- #violations : Array(Violation)
- #warnings