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

Bring in a require-unique-dependency-names / no-dupe-deps / no-repeated-dependencies rule #50

Closed
JoshuaKGoldberg opened this issue Sep 20, 2023 · 1 comment · Fixed by #126
Labels
status: accepting prs Please, send a pull request to resolve this! type: feature New enhancement or request

Comments

@JoshuaKGoldberg
Copy link
Owner

JoshuaKGoldberg commented Sep 20, 2023

Splitting out of #42: a few other packages in the ecosystem have some concept of a rule that detects duplicate dependencies. Let's add in an equivalent here!

As for the name of the rule, no-duplicate-dependencies?

Blocked on #40, but once that PR is merged this will be good to go.

@JoshuaKGoldberg JoshuaKGoldberg added type: feature New enhancement or request status: accepting prs Please, send a pull request to resolve this! status: blocked Waiting for something else to be resolved and removed status: accepting prs Please, send a pull request to resolve this! labels Sep 20, 2023
@JoshuaKGoldberg JoshuaKGoldberg added status: accepting prs Please, send a pull request to resolve this! and removed status: blocked Waiting for something else to be resolved labels Nov 6, 2023
JoshuaKGoldberg added a commit that referenced this issue Jan 20, 2024
## PR Checklist

-   [x] Addresses an existing open issue: fixes #50
- [x] That issue was marked as [`status: accepting
prs`](https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22)
- [x] Steps in
[CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/blob/main/.github/CONTRIBUTING.md)
were taken

## Overview

I ended up naming it `unique-dependencies` because I'm not a fan of
`no-` prefixes for lint rules
(typescript-eslint/typescript-eslint#6022).
Copy link

🎉 This is included in version v0.8.0 🎉

The release is available on:

Cheers! 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: accepting prs Please, send a pull request to resolve this! type: feature New enhancement or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant