slopvac lint
Lint prose and source comments. Bare paths run this command.
Usage: slopvac lint [OPTIONS] [PATH]...| Argument | Value | Default | Description |
|---|---|---|---|
<PATH> |
PATH |
none | Files or directories to lint. |
--stdin |
none | false |
Lint one document from standard input. |
--language |
LANG |
none | Name the parser for standard input. |
--mode |
one of prose, code-comments |
none | Input surface. |
--config |
FILE |
none | Use this slopvac.toml instead of the nearest one. |
--category |
CATEGORY |
none | Run only these categories. Repeatable. |
--disable |
DISABLE |
none | Disable a category or a qualified rule ID. Repeatable. |
--format |
one of text, json, github, sarif, rdjsonl, codeclimate, junit, checkstyle, markdown, html |
text |
Report format. |
--out |
FILE |
none | Write the report here instead of standard output. |
--open |
none | false |
Open the HTML report in a browser. |
--min-score |
MIN-SCORE |
none | Fail below this 0-100 score. |
--max-per-100-words |
MAX-PER-100-WORDS |
none | Fail above this severity-weighted density. |
--locale |
TAG |
none | Spelling target: en-US, en-GB, or und to disable. |
--diff-base |
REV |
none | Scope findings to lines added in REV…HEAD. |
--diff-working-tree |
none | false |
Scope findings to staged, unstaged and untracked changes. |
--fix |
none | false |
Apply safe replacements. |
--verbose |
none | false |
Show categories with no findings. |
--explain-config |
none | false |
Print each resolved setting with its source, then exit. |
-h, --help |
none | none | Print help |