Skip to content

Rules

Run skif rules (or skif rules --format json) to list the registry. Every rule has a stable kebab-case id, a category and a default level. Rule pages on this site are generated from docs/rules.md at build time.

off disables a rule; info, warn and error set the severity. info never counts toward the exit code. Set a level in [rules], or per run with --rule ID=LEVEL.

Fixable Meaning
safe Applied by --fix.
unsafe Applied only by --fix-unsafe.
sometimes Fixable for some findings, depending on the situation.
none Reported only.

The JavaScript analysis rules need the JS analysis, which --no-js or [js] enabled = false turns off.