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

feat: remove most peer dependencies #256

Merged
merged 1 commit into from
Jul 18, 2023
Merged

Conversation

simenandre
Copy link
Member

@simenandre simenandre commented Jul 18, 2023

For novice users, peer dependencies might be a hurdle. I think a nice middle-ground is asking users to install their own eslint, but install all the plugins and configs we use automatically. Even though we split into multiple configurations, which would make some of the plugins redundant, it's worth making the eslint config more usable.

I don't think this I'll break anyone's workflow, but note to consumers: You can remove a lot of dependencies from your package.json after this change.

This was added in 4563398. The reason back then was to give the consumer/user control, but I feel that has had a real drawback for DX. Especially for novice users.

For novice users, peer dependencies might be a hurdle. I think a nice middleground is asking users to install their own eslint, but install all the plugins and configs we use automatically. Even though we split into multiple configurations, which would make some of the plugins redudant, I think it's worth making the eslint config more usable.

I don't think this i'll break anyones workflow, but note to consumers: You can remove a lot of dependencies from your package.json after this change.
@simenandre simenandre requested a review from a team as a code owner July 18, 2023 22:38
@simenandre simenandre merged commit a021796 into main Jul 18, 2023
@simenandre simenandre deleted the simenandre/remove-peer-deps branch July 18, 2023 22:41
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

1 participant