Rule Index
Every rule Schist ships, cited with its severity, autofix status, and the languages it covers.
Schist evaluates rules in a fixed order on every run: correctness rules first, then scoping and control-flow, then style. A run stops reporting new categories once an earlier one has failed closed, so the citations below read top to bottom the same way a report does.
- ERROR SCH001 no-unused-import Flags an import binding that is never referenced in the file it is declared in. JavaScript
- WARN SCH014 no-shadowed-binding Flags a loop or comprehension variable that reuses the name of a binding already live in an enclosing scope. Python
- HINT SCH022 prefer-const-binding Suggests const for a binding that is declared with let but never reassigned after initialization. TypeScript
- ERROR SCH033 no-empty-catch Flags a catch block with no statements, which discards the caught exception without logging, rethrowing, or handling it. Java
- WARN SCH041 consistent-return Flags a function that mixes explicit return statements with implicit tail-expression returns across its branches. Rust
- HINT SCH052 sort-imports Flags an import block whose entries are not grouped by origin and sorted alphabetically within each group. Go