Skip to content

Commit

Permalink
enforce cargo clippy locally in vscode on rs file saves
Browse files Browse the repository at this point in the history
  • Loading branch information
craigmayhew committed Feb 5, 2024
1 parent 0ebec55 commit 39521d2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"rust-analyzer.check.command": "clippy",
"rust-analyzer.checkOnSave.overrideCommand": [
"cargo",
"clippy",
],
}

0 comments on commit 39521d2

Please sign in to comment.