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

Fails to compile with eslint-plugin-react@7.25.0 #81

Open
bathtaters opened this issue Sep 15, 2021 · 3 comments
Open

Fails to compile with eslint-plugin-react@7.25.0 #81

bathtaters opened this issue Sep 15, 2021 · 3 comments

Comments

@bathtaters
Copy link

Throws compiling error: utils.getReturnPropertyAndNode is not a function occurred while linting

getReturnPropertyAndNode was removed from eslint-plugin-react/lib/util/Components.js in v7.25
Forcing eslint-plugin-react@7.24.0 fixes this.

@ezhlobo
Copy link
Owner

ezhlobo commented Sep 19, 2021

Thank you for pointing that out.

@aspiiire
Copy link

Thanks @bathtaters for the solution @ezhlobo Could you please add some sort of error to allow people to understand that they should add a previous version of plugin-react? I lost so much time trying to figure out what was the problem

@ezhlobo
Copy link
Owner

ezhlobo commented Nov 19, 2021

@aspiiire I feel you and apologise. My intention was to set it up working with new react but then I lost in time. I would definitely like to ship an update to README with warning here.

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

3 participants