Rules

1183 rules for six languages. A project picks a tier in tx0.toml, and each tier includes the ones before it: default has 353 rules, recommended adds 401, strict adds 426, and all runs every rule. Any rule can also be turned on by its id.

A rule is on by default only when its precision has been measured on code its authors had not seen. tx0 explain RULE shows any rule in the terminal.

Go rules 199, 70 of them in default

Python rules 230, 69 of them in default

JavaScript and TypeScript rules 259, 56 of them in default

Java rules 363, 108 of them in default

C rules 132, 50 of them in default