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

chore: eslint-plugin-smarthr を peerDependencies から外す #822

Merged
merged 2 commits into from May 13, 2024

Conversation

s-sasaki-0529
Copy link
Contributor

@s-sasaki-0529 s-sasaki-0529 commented May 9, 2024

にて議論しましたが、やはり eslint-config-smarthr にとっては常に最新の eslint-plugin-smarthr を使用して欲しいという意図があると思うので、 peerDependencies から外して dependencies のみにします。

これによって、pnpm v9 であっても、最新の eslint-config-smarthr をインストールした場合はそこで定義されている最新の eslint-plugin-smarthr が使用されるようになります。
(pnpm v8 や yarn の場合は、peerDependenciesdependencies 両方定義してる場合に後者を優先してくれてたみたい)

@s-sasaki-0529 s-sasaki-0529 self-assigned this May 9, 2024
@s-sasaki-0529 s-sasaki-0529 requested a review from a team as a code owner May 9, 2024 07:41
@s-sasaki-0529 s-sasaki-0529 requested review from AtsushiM and yamish123 and removed request for a team May 9, 2024 07:41
Copy link
Member

@AtsushiM AtsushiM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:gogo:

Copy link
Contributor

@yamish123 yamish123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎉

@s-sasaki-0529 s-sasaki-0529 merged commit 0d188b4 into master May 13, 2024
1 check passed
@s-sasaki-0529 s-sasaki-0529 deleted the remove-peer-dependencies branch May 13, 2024 09:44
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.

None yet

3 participants