Skip to content

Got lint error #45

@zhouhao27

Description

@zhouhao27

I followed your book. But got the following error message when I run yarn lint:

Parsing error: Unexpected token =

In my code:

  state = {
    text: ''
  }

What is your suggestion to remove the lint error? Thanks.

Metadata

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