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!: Add linting for react-testing-library #82

Merged
merged 1 commit into from
Jan 7, 2020

Conversation

benmvp
Copy link
Owner

@benmvp benmvp commented Jan 7, 2020

Problem

There was no linting for @testing-library/react yet the package.json was already installing eslint-plugin-testing-library.

Solution

Added 'plugin:testing-library/react' as one of the plugins the eslint.config.js extends from to receive the recommended react ESLint rules.

Fixes #81

BREAKING CHANGE: This is now failing for new lint errors so it's technically a breaking change, although it should be super-duper minor.

@benmvp benmvp changed the title feat!(test): Add linting for react-testing-library feat!: Add linting for react-testing-library Jan 7, 2020
@benmvp benmvp force-pushed the react-testing-library-linting branch from 559f561 to 15b420a Compare January 7, 2020 04:44
@benmvp benmvp merged commit a4e1dd7 into master Jan 7, 2020
@benmvp benmvp deleted the react-testing-library-linting branch January 7, 2020 05:09
@github-actions
Copy link

github-actions bot commented Jan 7, 2020

🎉 This PR is included in version 7.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

testing-library linting
1 participant