fizzylint
v0.1.4
Published
Small JS and TS lint CLI.
Maintainers
Readme
fizzylint
fizzylint is a minimal JavaScript and TypeScript lint CLI with a clean terminal interface, safe autofixes, and practical rules for day-to-day code review.
Hosted docs: https://fizlint.vercel.app
What It Checks
- loose equality (
==,!=) vardeclarationsconsole.log,console.debug,console.infodebuggerstatements- duplicate imports
- trailing whitespace
- empty blocks
- TODO / FIXME comments
letdeclarations that can beconst- explicit
anyin TypeScript
Safe Fixes
fizzylint fix currently autofixes:
- trailing whitespace
- loose equality to strict equality
lettoconstwhen the variable is never reassigned
Usage
fizzylint lint src
fizzylint fix src
fizzylint lint src --json
fizzylint lint --stdin --stdin-filename src/example.tsOptions
--json
--quiet
--no-color
--ext .js,.jsx,.ts,.tsx
--stdin
--stdin-filename <name>
--max-warnings <count>Notes
The CLI is intentionally lightweight and heuristic-driven, so it stays fast without requiring a heavy parser pipeline.
