multilint
A tool to run multiple linters.
Usage
$ cargo install multilint
$ multilint --help
multilint 0.1.3
A driver of multiple linters
USAGE:
multilint [OPTIONS]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-c, --config <config> Config file [default: multilint.toml]
-f, --format <format> Message format [default: text] [possible values: Null, Text,
JSONL, GNU]
-C <work-dir> Changes the working directory before running
Configuration format
multilint.toml should exist in the working directory.
Example
[global]
excludes = ["third_party/**"]
[linter.shellcheck]
command = "shellcheck"
includes = ["*.sh"]
excludes = ["*.zsh"]
[linter.clippy]
command = "cargo"
options = ["clippy"]
work_dir = "subdir"
Error message parser
You can define formats at config and use JSONL printer or GNU printer.
#!/bin/sh
a=
)
}
}
)
Related projects
- treefmt: multilint is inspired by treefmt