diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4232d93fc..d3ec6bd09 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -90,6 +90,14 @@ If you are working in VSCode, we recommend you install the [rust-analyzer](https ```json "editor.formatOnSave": true, "rust-analyzer.rustfmt.extraArgs": ["+nightly"], +"rust-analyzer.checkOnSave.overrideCommand": [ + "cargo", + "+nightly", + "clippy", + "--all", + "--all-features", + "--message-format=json" +], "[rust]": { "editor.defaultFormatter": "rust-lang.rust-analyzer" }