Skip to content

Lint [workspace.dependencies]#673

Merged
Jake-Shadle merged 8 commits intomainfrom
workspace-duplicate-lint
Jun 26, 2024
Merged

Lint [workspace.dependencies]#673
Jake-Shadle merged 8 commits intomainfrom
workspace-duplicate-lint

Conversation

@Jake-Shadle
Copy link
Copy Markdown
Member

@Jake-Shadle Jake-Shadle commented Jun 26, 2024

This PR adds 2 new lints:

  • workspace-duplicates - Will be triggered if >1 direct workspace dependencies that resolve to the same crate are not using a shared [workspace.dependencies] entry
  • unused-workspace-dependency - Will be triggered if a workspace dependency is not actually used

This also improves the output for the wildcards lint to show the span information for the actual crate manifest where the wildcard dependency is declared, rather than the synthesized one used previous to this change.

Resolves: #436
Resolves: #525

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant