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

Linting fails when following the color-picker tutorial #64

Open
PascalLeMerrerPro opened this issue Nov 5, 2017 · 0 comments
Open

Linting fails when following the color-picker tutorial #64

PascalLeMerrerPro opened this issue Nov 5, 2017 · 0 comments

Comments

@PascalLeMerrerPro
Copy link

Steps to reproduce:

It displays 4 errors:


color-picker-tutorial/src/components/color-picker-footer/component.js
  5:18  error  Parsing error: The keyword 'class' is reserved

color-picker-tutorial/src/components/color-picker-header/test.js
  2:1  error  Parsing error: The keyword 'const' is reserved

color-picker-tutorial/src/components/color-picker-selection/test.js
  2:1  error  Parsing error: The keyword 'const' is reserved

color-picker-tutorial/src/components/color-picker/utils/getColors.js
  1:1  error  Parsing error: The keyword 'const' is reserved

✖ 4 problems (4 errors, 0 warnings)

I assume this is because the generated project misses an eslintrc.json file

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

1 participant