From 7bf7ae1c748db2ab50d22cd36e3e7e39119bf134 Mon Sep 17 00:00:00 2001 From: Daniel Griesser Date: Sun, 10 Aug 2025 21:21:02 +0200 Subject: [PATCH] chore(cursor): Add Rust formatting check to Cursor rules Add cargo fmt --all -- --check to the Cursor rules file to ensure consistent Rust code formatting before committing changes. --- .cursor/rules/sentry-cli-project.mdc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.cursor/rules/sentry-cli-project.mdc b/.cursor/rules/sentry-cli-project.mdc index 47ae894f4f..88b117ce15 100644 --- a/.cursor/rules/sentry-cli-project.mdc +++ b/.cursor/rules/sentry-cli-project.mdc @@ -65,4 +65,8 @@ Reference: https://develop.sentry.dev/engineering-practices/commit-messages/ - Test fixtures in `tests/integration/_fixtures/` - Cross-platform testing via CI matrix +## Code Formatting + +- Always run `cargo fmt --all -- --check` before committing to ensure consistent Rust code formatting + Remember: This is a production tool used by many developers. Changes should be well-tested, backward-compatible, and follow established patterns.