rust/clippy_dev/src
bors 01ea6241ae Auto merge of #8607 - Alexendoo:cargo-dev-lint-dir, r=flip1995,giraffate
Allow running `cargo dev lint` on a package directory

Allows you run the local clippy in a specified directory, e.g. allowing

```sh
# Lint a ui-cargo test
cargo dev lint tests/ui-cargo/wildcard_dependencies/fail

# Lint some other project
cargo dev lint ~/my-project
```

The `target` directory is set to a tempdir which isn't ideal for medium/large projects as it would be compiled from scratch. This is to avoid cached clippy messages where you `cargo dev lint dir`, change something in clippy, and run `cargo dev lint dir` again

changelog: Dev: `cargo dev lint` can now be run on a package directory
2022-04-05 09:33:38 +00:00
..
setup Added cargo dev setup vscode-tasks for simplicity 2021-06-27 22:36:41 +02:00
bless.rs Allow running cargo dev lint on a package directory 2022-03-29 19:03:36 +01:00
fmt.rs Use rustup which rustfmt 2022-01-10 17:04:38 -06:00
lib.rs Auto merge of #8607 - Alexendoo:cargo-dev-lint-dir, r=flip1995,giraffate 2022-04-05 09:33:38 +00:00
lint.rs Allow running cargo dev lint on a package directory 2022-03-29 19:03:36 +01:00
main.rs Allow running cargo dev lint on a package directory 2022-03-29 19:03:36 +01:00
new_lint.rs Remove cargo_metadata dependency from clippy_dev 2022-04-01 23:18:47 -04:00
serve.rs Run cargo collect-metadata in cargo dev serve 2021-07-28 15:05:11 +02:00
update_lints.rs Remove regex dependency from clippy_dev 2022-04-01 23:18:47 -04:00