We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Versions:
When enabling the rule "react/no-adjacent-inline-elements", the following code causes eslint to crash:
React.createElement(a, b);
Minimal .eslintrc.js that trigger the issue:
module.exports = { plugins: ["react"], rules: {"react/no-adjacent-inline-elements": ["warn"]}, };
(setting react version does not change the issue)
Output:
$ npx eslint index.js Cannot read property 'elements' of undefined Occurred while linting …/index.js:1
Expected: Not crashing eslint, even if something's wrong with the code :)
The text was updated successfully, but these errors were encountered:
Ouch, definitely a bug (altho i have no idea how you'd run into this)
Sorry, something went wrong.
09608cc
No branches or pull requests
Versions:
When enabling the rule "react/no-adjacent-inline-elements", the following code causes eslint to crash:
Minimal .eslintrc.js that trigger the issue:
(setting react version does not change the issue)
Output:
Expected:
Not crashing eslint, even if something's wrong with the code :)
The text was updated successfully, but these errors were encountered: