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 crash on TSEmptyBodyFunctionExpression AST node #2560
Conversation
…SEmptyBodyFunctionExpression` AST node Fixes #2559.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a regression test for this.
Ok, no problem 👍 I'm not sure about how to test this correctly. As far as I understand the test suite, Should I add a test for |
The test should contain the code that make this plugin crash, and written like ones in tests/lib/rules/no-unused-prop-types.js. |
Any idea when a new release with this merged PR will go out? |
issue related to jsx-eslint/eslint-plugin-react#2560
Fixes #2559