badness
v0.24.0
Published
A language, formatter, and linter for LaTeX
Maintainers
Readme
Badness
Badness is a language server, formatter, and linter for LaTeX documents.
Install
npm install -g badnessThis installs the badness command globally. The package detects your platform
at install time and pulls in a prebuilt binary via npm's optional dependencies;
no Rust toolchain or postinstall download required.
You can also use it without a global install:
npx badness format document.texUsage
badness format document.tex # format in place
badness format <document.tex # read stdin, write stdout
badness lint document.tex # lint
badness lint --fix document.tex # lint and apply auto-fixes
badness lsp # start the language serverSee badness --help and the documentation for the full
feature list and configuration reference.
Supported platforms
Prebuilt binaries are shipped for:
- Linux x64 (glibc and musl)
- Linux arm64 (glibc and musl)
- macOS x64 (Intel) and arm64 (Apple Silicon)
- Windows x64 and arm64
If your platform isn't covered, install via Cargo, PyPI, or one of the other methods listed at https://badness.dev/.
License
MIT. See LICENSE.
