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

eslint support for jest-plugin-context #98

Open
brewster1134 opened this issue Jul 11, 2021 · 0 comments
Open

eslint support for jest-plugin-context #98

brewster1134 opened this issue Jul 11, 2021 · 0 comments

Comments

@brewster1134
Copy link

Description

i fell in love with the context alias when using rspec, but after adding the eslint-plugin-jest plugin, i now get several eslint Duplicate _____ in describe block errors, since eslint doesn't recognize context as a describe alias, it sees multiple jest setup/teardown helper functions under a single scope

Screenshot

Screen Shot 2021-07-10 at 11 34 42 PM

Test Plan

this may be something only eslint-plugin-jest can support, but since i'm not clear on where that responsibility should lie, i wanted to raise an issue here as well as with them: https://github.com/jest-community/eslint-plugin-jest

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

No branches or pull requests

1 participant