-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 #1589
Comments
we have the following import related rules in our eslint config
|
Thanks, will take a look. |
This appears to have been fixed with v2.19.1, can you upgrade and confirm? Will reopen if not. |
ljharb
added a commit
to ljharb/eslint-plugin-import
that referenced
this issue
Jan 1, 2020
These tests already passed, implying that import-js#1589 is a non-issue. However, the guards are still good to add.
confirming that fixed it. Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running eslint in our repo fails for version 2.19.0 with this error
TypeError: Cannot read property 'value' of null
.Rolling back to 2.18.2 resolves the issue.
It looks like the problem is potentially related to 99b3fbf.
node.source
is null inExportNamedDeclaration
, which causes the failure. It fails forexport class Component extends React.Component { ... }
,export function Component() { ... }
, andexport const Component = () => { ... }
Please let me know if there's more information I can share to help diagnose this issue.
The text was updated successfully, but these errors were encountered: