Expand description
Metric and rule definitions for explainable CLI output. Metric and rule definitions for explainable CLI output.
Provides structured metadata that describes what each metric, threshold,
and rule means — consumed by the _meta object in JSON output and by
SARIF fullDescription / helpUri fields.
Structs§
- RuleDef
- Rule definition for SARIF
fullDescriptionand JSON_meta. - Rule
Guide - Extra educational content for the standalone
fallow explain <issue-type>command. Kept separate fromRuleDefso SARIF and_metapayloads remain compact while terminal users and agents can ask for worked examples on demand.
Constants§
- CHECK_
DOCS - Docs URL for the dead-code (check) command.
- CHECK_
RULES - COVERAGE_
ANALYZE_ DOCS - Docs URL for
fallow coverage analyze --format json --explain. - COVERAGE_
SETUP_ DOCS - Docs URL for the runtime coverage setup command’s agent-readable JSON.
- DUPES_
DOCS - Docs URL for the dupes command.
- DUPES_
RULES - HEALTH_
DOCS - Docs URL for the health command.
- HEALTH_
RULES
Functions§
- check_
meta - Build the
_metaobject forfallow dead-code --format json --explain. - coverage_
analyze_ meta - Build the
_metaobject forfallow coverage analyze --format json --explain. - coverage_
setup_ meta - Build the
_metaobject forfallow coverage setup --json --explain. - dupes_
meta - Build the
_metaobject forfallow dupes --format json --explain. - health_
meta - Build the
_metaobject forfallow health --format json --explain. - rule_
by_ id - Look up a rule definition by its SARIF rule ID across all rule sets.
- rule_
by_ token - Look up an issue type from a user-facing token.
- rule_
docs_ url - Build the docs URL for a rule.
- rule_
guide - Return worked-example and fix guidance for a rule.
- run_
explain - Run the standalone explain subcommand.