Skip to content

TypeError: Cannot read property 'value' of null #1589

Closed
@orteth01

Description

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 in ExportNamedDeclaration, which causes the failure. It fails for export class Component extends React.Component { ... }, export function Component() { ... }, and export const Component = () => { ... }

Please let me know if there's more information I can share to help diagnose this issue.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions