-
Notifications
You must be signed in to change notification settings - Fork 507
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
fix(lint): do not output warning about react on non-react projects #308
fix(lint): do not output warning about react on non-react projects #308
Conversation
looks good enough. ready to merge? |
@sw-yx, I believe so. 😃 |
thanks for the great pr! will go out with the next release |
Would you consider shipping a tiny patch release with this change? Or have some bigger changes already made it into master that make that tricky? Not a big deal either way, of course - just curious. Thanks! |
its up to @jaredpalmer - he controls the releases |
When to push this change to npm?i think i need it. @jaredpalmer |
thanks for the great PR! @all-contributors please add @arthurdenner for bugs, code |
I've put up a pull request to add @arthurdenner! 🎉 |
Do you know if this change has been released yet? Thanks! |
Current behavior:
We get a warning about detecting React version using the
lint
command in non-react projects.New behavior:
Using the shared settings and the same value used by
eslint-plugin-react
internally - it could be almost any value - we don't get the warning on non-react projects. Closes #279.How to reproduce:
tsdx lint
inside a react and a non-react project;Notes:
N/A.