Skip to content

chore(meta): Centralize workspace lint config#1114

Merged
szokeasaurusrex merged 1 commit into
masterfrom
szokeasaurusrex/workspace-lints
May 6, 2026
Merged

chore(meta): Centralize workspace lint config#1114
szokeasaurusrex merged 1 commit into
masterfrom
szokeasaurusrex/workspace-lints

Conversation

@szokeasaurusrex
Copy link
Copy Markdown
Member

@szokeasaurusrex szokeasaurusrex commented May 6, 2026

Centralize the lint config for all crates in the workspace Cargo.toml. Moved the only custom lint config (currently in the Sentry crate) to the workspace, so it now applies to all crates.

Done in prep for #1113 (RUST-211).

Move the rust unexpected_cfgs lint into the workspace manifest and make each package inherit it there. This keeps the lint definition in one place while preserving the existing crate behavior.

Done in prep for #1113 ([RUST-211](https://linear.app/getsentry/issue/RUST-211/enforce-checked-arithmetic-in-the-sdk)).
@szokeasaurusrex szokeasaurusrex requested a review from giortzisg May 6, 2026 14:13
@szokeasaurusrex szokeasaurusrex marked this pull request as ready for review May 6, 2026 14:13
@szokeasaurusrex szokeasaurusrex requested a review from lcian as a code owner May 6, 2026 14:13
@szokeasaurusrex szokeasaurusrex merged commit 5dc48f3 into master May 6, 2026
27 checks passed
@szokeasaurusrex szokeasaurusrex deleted the szokeasaurusrex/workspace-lints branch May 6, 2026 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants