🔍 Zsh Lint
A Go-based semantic analyzer for Zsh
zsh-lint is being rebooted as a Go semantic analyzer for Zsh. It parses Zsh
sources with a real grammar front end and reports problems. It currently
operates as a parser survey — reporting which files the parser accepts — and
does not implement lint rules yet.
z-shell/zsh-lint
Installation
go install github.com/z-shell/zsh-lint/cmd/zsh-lint@latest
Usage
zsh-lint path/to/file.zsh another.zsh
Each file gets an OK/FAIL line; failures include a greppable
path:line:col: message. The exit code is 0 only if every file parsed.