alint rules
alint rules is the rule kind catalog on the command line. It never reads a
config, so it works in any directory, including before you write your first
.alint.yml.
Examples
Section titled "Examples"Every rule kind, with its categories:
alint rules listNarrow the list:
alint rules list --category namingalint rules list --search shebangThe categories and how many kinds each holds:
alint rules categoriesOne kind: summary, categories, aliases, host capabilities, accepted kind-specific selectors, fix operations, and docs link. An alias resolves to its canonical kind:
alint rules show content_forbiddenReference
Section titled "Reference"Browse the catalog of rule kinds alint ships (config-independent).
Use `alint list` for the rules configured in THIS repo; `alint rules` never reads a config and worksanywhere.
Usage: alint rules [OPTIONS] <COMMAND>
Commands: list List rule kinds in the catalog, optionally filtered. Reads no config categories List the rule categories: slug, title, and how many kinds each holds show Show one rule kind: summary, capabilities, selectors, fixes, and docs. Accepts an alias (resolves to the canonical kind) help Print this message or the help of the given subcommand(s)The global options apply to alint rules too, where they are relevant.
See also
Section titled "See also"- The rule catalog, browsable and filterable
- Kinds, families and categories