multilint
A tool to run multiple linters.
Usage
$ cargo install multilint
$ multilint --help
multilint 0.0.0
A driver of multiple linters
USAGE:
multilint [OPTIONS]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-f, --format <format> Message format [default: text] [possible values: Null, Raw,
Text]
-l, --linter <linters>... Linters to run
-C <work-dir> Changes the working directory before running
Configuration format
All multilint.toml in directories from the root to the current directory are merged and parsed.
Example
[]
= ["third_party/**"]
[]
= "shellcheck"
= ["*.sh"]
= ["*.zsh"]
[]
= "cargo"
= ["clippy"]
= "subdir" # you can change directory
[]
= "cargo"
= ["fmt", "--"] # formatters can be used as linters (mtime of the files are checked if `check_hash` is false)
= ["*.rs"]
Related projects
- treefmt: multilint is inspired by treefmt