diff options
| author | Tyler Weaver <maybe@tylerjw.dev> | 2023-01-14 07:39:49 -0700 |
|---|---|---|
| committer | Tyler Weaver <maybe@tylerjw.dev> | 2023-01-14 07:39:49 -0700 |
| commit | d950279a039b5a598c87b347ba5d2f151a071a98 (patch) | |
| tree | 55553532afaabdde08c971164ea0018ca55002ee | |
| parent | dc5ce488e7e14e2cebb90d9c1cd189c970ee415f (diff) | |
| download | rust-d950279a039b5a598c87b347ba5d2f151a071a98.tar.gz rust-d950279a039b5a598c87b347ba5d2f151a071a98.zip | |
Document generating lint config docs for adding configuration
| -rw-r--r-- | book/src/development/adding_lints.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/book/src/development/adding_lints.md b/book/src/development/adding_lints.md index 8b4eee8c9d9..fd6e1f5aef2 100644 --- a/book/src/development/adding_lints.md +++ b/book/src/development/adding_lints.md @@ -699,6 +699,10 @@ for some users. Adding a configuration is done in the following steps: `clippy.toml` file with the configuration value and a rust file that should be linted by Clippy. The test can otherwise be written as usual. +5. Update [Lint Configuration](../lint_configuration.md) + + Run `cargo collect-metadata` to generate documentation changes for the book. + [`clippy_lints::utils::conf`]: https://github.com/rust-lang/rust-clippy/blob/master/clippy_lints/src/utils/conf.rs [`clippy_lints` lib file]: https://github.com/rust-lang/rust-clippy/blob/master/clippy_lints/src/lib.rs [`tests/ui`]: https://github.com/rust-lang/rust-clippy/blob/master/tests/ui |
