badness-lint(1)
π NAME β badness-lint(1) π
Bestie, meet badness-lint, the manual name you need in your life if LaTeX parse diagnostics are your love language. It lives in the General Commands Manual, section (1), and its whole thing is: Lint LaTeX source, reporting parse diagnostics. π
β¨
β¨ SYNOPSIS β¨
badness lint [--fix] [--unsafe-fixes] [--stdin-filepath] [--exclude]
[--force-exclude] [--select] [--extend-select] [--ignore] [--explain]
[--output] [-h|--help] [-V|--version] [PATHS]
πΈ DESCRIPTION πΈ
Okay so the main-character job is literally: Lint LaTeX source, reporting parse diagnostics. π¦
With paths, lints each file. Reads stdin when given -, or when paths are omitted and stdin is not a terminal. Exits non-zero if any diagnostics are reported. No cap, thatβs the vibe check. π
π OPTIONS π
--fixβ Apply safe autofixes in place, then report what remains. Requires path arguments; has no effect on stdin (there is nothing to write). π₯--unsafe-fixesβ Also apply fixes that may change typeset output (requires--fix). Yes bestie, this one is giving βhandle with careβ energy. π--stdin-filepath <PATH>β Name the stdin buffer so its language is dispatched by extension (.bibβ BibTeX, anything else β LaTeX). No file is read or written; only the extension is used. Ignored when paths are given. π--exclude <PATTERN>β Gitignore-style pattern to skip during directory discovery (repeatable). Added on top of anyexclude/extend-excludefrombadness.toml. π«Ά--force-excludeβ Apply exclude patterns to files named explicitly on the command line too (they are normally always processed). For runners like pre-commit that pass staged files as arguments. β¨--select <RULE>β Set the base rule selection (repeatable). Overrides[lint] selectfrombadness.tomlwhen given. π--extend-select <RULE>β Enable additional rules alongside--selector the defaults (repeatable). Added to[lint] extend-selectfrombadness.toml. π--ignore <RULE>β Disable these rules (repeatable). Overrides[lint] ignorefrombadness.tomlwhen given. π--explain <RULE>β Print the description and examples for a rule id, then exit. Ignores paths, config, and fixes. β--output <OUTPUT>β Output format for findings. The human modes write to stderr;jsonwrites to stdout. [default:pretty] π
Possible values:
prettyβ Source-snippet output with caret spans, on stderr (default). πΈconciseβ Onepath:line:col: severity [rule] messageline per finding, on stderr. πjsonβ A machine-readable JSON array of findings on stdout ([]when clean), with byte-offset ranges and fix data. π¦
-h,--helpβ Print help (see a summary with '-h'). π-V,--versionβ Print version. β¨[PATHS]β Files or directories to lint. Pass-for stdin, which is also read when paths are omitted and stdin is not a terminal. π
π₯ VERSION π₯
v0.28.0 β periodt. π
π SEE ALSO π
badness(1), badness-format(1), badness-parse(1), badness-lsp(1), badness-inverse-search(1), badness-init(1), badness-debug(1)
π cute sign-off: source/version islint 0.28.0, manual isbadness-lint(1). The footer date isnβt printed, bestie β the last line only showslint 0.28.0andbadness-lint(1), so thatβs the whole adorable ending. Mwah! ππ
π¦ where this page comes from
- nixpkgs unstable: badness 0.28.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms