Skip to content

Commit 47efe5b

Browse files
meta(vscode): Make rust-analyzer run Clippy
Having this setting ensures that any linter warnings (at least, for the developer's system) are displayed in the IDE. I have had it enabled in my user settings for awhile, but we should also ensure it is set in the project settings, so that future Sentry CLI contributors have this setting enabled out of the box.
1 parent e93f8b9 commit 47efe5b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"rust-analyzer.cargo.features": ["unstable-mobile-app"],
3-
"rust-analyzer.cargo.noDefaultFeatures": false
3+
"rust-analyzer.cargo.noDefaultFeatures": false,
4+
"rust-analyzer.check.command": "clippy"
45
}

0 commit comments

Comments
 (0)