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

Fixed package.json lint script #533

Closed
wants to merge 1 commit into from
Closed

Fixed package.json lint script #533

wants to merge 1 commit into from

Conversation

mike-phillips
Copy link

refs/closes #532

Others encountering this issue have resolved the problem by migrating from babel-eslint (deprecated as of March 2020) to @babel/eslint-parser.

  • This pull request completes the migration from babel-eslint to @babel/eslint-parser.
  • A lint-fix script was added to package.json for future convenience.
  • Automated lint fixes were applied
  • Also includes a few manual lint fixes for prop-types and an inline eslint disable

yarn run lint now passes but it wasn't clear if the eslint rules were configured as desired. There's obviously lots of automated fixes in this PR that could possibly be resolved by changing the config rather than changing the code. I'm happy to change the eslint rules to whatever the project maintainers prefer and update this PR accordingly.

refs/closes #532

- The lint script was failing due to issues with parsing JS files
  - it should be passing on the main branch
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

Successfully merging this pull request may close these issues.

Lint script fails due to parsing errors
1 participant