Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: use a standardized workspace lint table #134

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

wmmc88
Copy link
Collaborator

@wmmc88 wmmc88 commented Apr 3, 2024

Since the lints table feature has been released for the last 2 stable rust versions, I've migrated all of our linting configurations to use it so we can keep the configuration mostly in one place.

Unfortunately, due to rust-lang/cargo#13157, we cannot override workspace level lints yet, so several of the packages have locally defined lints in their Cargo manifest. This is still an improvement over before as now it applies at a package level instead of at the module level (and has caught several small issues)

@wmmc88 wmmc88 requested a review from a team April 3, 2024 00:40
@wmmc88 wmmc88 changed the title Standardize lints to use workspace.lints table refactor: use a standardized workspace lint table Apr 3, 2024
@wmmc88 wmmc88 self-assigned this Apr 4, 2024
@wmmc88 wmmc88 marked this pull request as ready for review April 25, 2024 05:37
@wmmc88 wmmc88 enabled auto-merge April 25, 2024 20:34
@wmmc88 wmmc88 marked this pull request as draft April 25, 2024 21:21
auto-merge was automatically disabled April 25, 2024 21:21

Pull request was converted to draft

@wmmc88 wmmc88 marked this pull request as ready for review April 26, 2024 18:10
crates/wdk-build/Cargo.toml Show resolved Hide resolved
@wmmc88 wmmc88 added this pull request to the merge queue Apr 30, 2024
Merged via the queue into microsoft:main with commit 88d5ee2 Apr 30, 2024
49 checks passed
@wmmc88 wmmc88 deleted the lints-table branch April 30, 2024 19:44
@wmmc88 wmmc88 mentioned this pull request Sep 27, 2024
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.

3 participants