Skip to main content
aislop rules explains the rule catalog directly in your terminal. Use it before changing rule severity, adding suppressions, or deciding whether a finding is mechanical cleanup or a strict defect.

Usage

aislop rules
aislop rules ./packages/api
aislop rules --search

Output fields

Each rule entry includes:
FieldMeaning
Rule IDStable identifier such as ai-slop/narrative-comment
SeverityDefault severity: error, warning, or info
FixabilityWhether aislop fix can resolve it mechanically
Impact tierHow strongly it contributes to the score
DescriptionWhat pattern the rule catches

Search mode

aislop rules --search
Search mode opens an interactive terminal explorer. Search by rule ID, engine, or description.

Score-impact tiers

TierMeaning
strictHigh-confidence defect or security issue
standardReal quality issue that may need judgment
maintainabilityDesign or refactoring debt
mechanicalCleanup that a simple edit or aislop fix can usually handle
styleReadability and policy pressure
advisoryMedium-confidence signal that should stay visible but score softly

Override a rule

Add rule overrides to .aislop/config.yml:
rules:
  ai-slop/narrative-comment: warning
  ai-slop/trivial-comment: "off"
  security/hardcoded-secret: error
Use off sparingly. Prefer a rule-scoped inline suppression when the exception is local.