-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
TypeError: Cannot read property 'value' of null #10372
Comments
Also occurs with default parser: echo '() => { return }' > cannot-read-value-of-null.js
/usr/bin/env eslint --no-eslintrc --parser-options '{"sourceType":"module"}' --rule '{"arrow-body-style":1}' cannot-read-value-of-null.js |
Thanks for the report, I can reproduce this issue. |
@not-an-aardvark mind if i take this one? |
Sure! |
Yup ill get another one! all good @not-an-aardvark |
Getting exactly this error with following:
.babelrc
dependencies
|
In my case, I had a React Component that had a method that was empty. Inside I had a one comment line.
|
If this is still happening with the latest version of ESLint, may you please open a new issue? Thanks! |
Tell us about your environment
What parser (default, Babel-ESLint, etc.) are you using?
babel-eslint
Please show your full configuration:
Configuration
What did you do? Please include the actual source code causing the issue, as well as the command that you used to run ESLint.
What did you expect to happen?
Eslint to lint the file
What actually happened? Please include the actual, raw output from ESLint.
Error received
TypeError: Cannot read property 'value' of null
The text was updated successfully, but these errors were encountered: