Closed iamrecursion closed 1 month ago
It turns out that clippy-driver can only accept single files as input, while lint-staged calls by default with batches of files. This uses the JS configuration option to instead create a separate task for each Rust file that needs to be linted.
clippy-driver
lint-staged
N/A
Summary
It turns out that
clippy-driver
can only accept single files as input, whilelint-staged
calls by default with batches of files. This uses the JS configuration option to instead create a separate task for each Rust file that needs to be linted.Details
N/A
Checklist