JavaScript and TypeScript rules

tx0 checks .js, .jsx, .mjs, .cjs, .ts, .tsx, .mts and .cts files with 259 rules, 56 of them in the default tier. Files that say a tool generated them are skipped. Each rule's page explains what it finds and what it leaves alone.

Default: 56 rules

Bugs and security problems with measured precision. They run without a tx0.toml.

Strict: 104 rules

Code that can be written more plainly.