Rust-powered
oxfmt runs in native code. Formatting is fast.
Formats code with oxfmt as part of your lint pass. No separate formatter step needed.
The rule runs oxfmt on each file during linting. When the file doesn’t match the formatted output, it reports a
minimal set of edits (insert, delete, replace) and can apply them with --fix.
oxfmt on the source.--fix.An LRU cache (default capacity: 32 files) skips unchanged files so repeated runs stay fast.
Rust-powered
oxfmt runs in native code. Formatting is fast.
LRU caching
Unchanged files get skipped via an internal cache keyed on filename + content.
Auto-fix
Works with eslint --fix and bun run lint:fix.
Unified tooling
No separate formatter step. Formatting runs alongside your other lint rules.
Run the fix command to format your project:
bun run lint:fixeslint --fix src/import ceaseNonsense from "eslint-plugin-cease-nonsense";
export default [ { plugins: { "cease-nonsense": ceaseNonsense, }, rules: { "cease-nonsense/fast-format": "error", }, },];| Type | Meaning | Example |
|---|---|---|
INSERT | Missing whitespace or punctuation | Insert " " at position 42 |
DELETE | Extra or incorrect characters | Delete ";" at position 10 |
REPLACE | Swapping styles (e.g., quotes) | Replace 'hello' with "hello" |
The rule processes .js, .jsx, .ts, .tsx, .mjs, and .cjs files. Everything else gets skipped.