module

Flaw::LintRules

flaw lint-rules — validates the rules/ directory against the contract documented in rules/README.md. Intended to be the gatekeeper for community rule contributions.

Constants

REQUIRED_FILES = ["rule.yml", "bad.cr", "good.cr", "README.md"] of ::String
REQUIRED_KEYS = ["id", "title", "severity", "tags", "detector"] of ::String

Class methods

run(root : String = "rules") : Int32
Source

Nested types