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 jest eslint rules #117

Merged
merged 2 commits into from
Oct 18, 2022
Merged

feat!: Remove jest eslint rules #117

merged 2 commits into from
Oct 18, 2022

Conversation

simenandre
Copy link
Member

@simenandre simenandre commented Oct 9, 2022

In our current rendition of @bjerk/eslint-config, we require jest to be installed.

I'm not sure that is the best approach for going forward, as we don't necessarily want to use Jest for every project anymore. A native test runner is coming, and there are also projects where we don't want/need Jest (or testing at all).

I think we have to balance it, though. Is it easy to manually add jest eslint rules? See my guide here: https://github.com/bjerkio/eslint-config/blob/remove-jest/README.md#migrate-from-v2

Copy link
Member

@braaar braaar left a comment

Choose a reason for hiding this comment

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

I think it looks simple enough to add jest rules yourself

README.md Outdated
project anymore. Versions below v3 **require** `jest`, which just doesn't make
sense to us.

However, there are a few steps needed to get it working anyway:
Copy link

Choose a reason for hiding this comment

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

This line reads to me like: "There were already some steps required, so dropping it doesn't really make much of a difference"

What about changing it to something like: "Here are the steps to get it working [again]:", or just "To get it working [again], do the following{.,:}"?

Verified

This commit was signed with the committer’s verified signature.
metcoder95 Carlos Fuentes
@simenandre simenandre merged commit 0ef4ee1 into main Oct 18, 2022
@simenandre simenandre deleted the remove-jest branch October 18, 2022 17:26
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