How to configure clippy lint in VS Code rust analyzer

Hey,

though I have found this post How to use Clippy in VS Code with rust-analyzer? - #8 and I do manage to have clippy running by rust-analyzer, I have been through their whole doc (User Manual) and can't figure out how to add lints (e.g. pedantic) in the check.

thanks

You can configure them in your Rust code the same way you can configure built-in rustc lints

https://doc.rust-lang.org/stable/clippy/usage.html#source-code

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.