Crate fortitude
Source - check
- cli
- explain
- register_rules
- some_vec
- Shorthand for
Some(vec![x])
. Note that an empty argument list
is forbidden – functions should just return None
instead - violation
- Diagnostic
- Reports of each violation. They are pretty-printable and sortable.
- Violation
- Category
- The category of each rule defines the sort of problem it intends to solve.
- ViolationPosition
- The location within a file at which a violation was detected
- ASTRule
- Implemented by rules that analyse the abstract syntax tree.
- PathRule
- Implemented by rules that act directly on the file path.
- Rule
- Implemented by all rules.
- TextRule
- Implemented by rules that analyse lines of code directly, using regex or otherwise.