Skip to content
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

Typo in the documentation #38

Closed
ruslan-trufanov opened this issue Nov 21, 2018 · 2 comments
Closed

Typo in the documentation #38

ruslan-trufanov opened this issue Nov 21, 2018 · 2 comments

Comments

@ruslan-trufanov
Copy link

ruslan-trufanov commented Nov 21, 2018

readme.md file has a typo at legacyDecorators word.

If you want use @babel/plugin-proposal-decorators with EsLint, you can enable useEslintRc, described below, with the follow configuration in your .eslintrc or package.json:

{
  "extends": "react-app",
  "parserOptions": {
    "ecmaFeatures": {
      "legacyDecotators": true // this is an error
    }
  }
}

You need to use

{
  "extends": "react-app",
  "parserOptions": {
    "ecmaFeatures": {
      "legacyDecorators": true
    }
  }
}
@dalcib
Copy link
Contributor

dalcib commented Nov 29, 2018

It was fixed in f61b852.

@arackaf arackaf closed this as completed Nov 29, 2018
@arackaf
Copy link
Owner

arackaf commented Nov 29, 2018

Sweet - glad it was fixed. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants