chore!: switch from babel-eslint
to @babel/eslint-parser
#176
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Defaults to the updated
@babel-eslint/parser
instead of the unmaintainedbabel-eslint
. See https://www.npmjs.com/package/@babel/eslint-parser for support rationale.Details
Also bumps
eslint-plugin-react-hooks
to the alpha version with support for eslint 8.x.Tested locally linked package with
yarn lint:js
onreact-components
with version bumps for:@typescript-eslint/eslint-plugin
v5.0.0@typescript-eslint/parser
v5.0.0eslint
v8.0.1eslint-plugin-jest
v25.2.1eslint-plugin-react-hooks
v4.2.1-alpha-930c9e7ee-20211015...and results in 33 expected problems (32 errors, 1 warning), most of which will be addressed by fixing for the new jest/require-hook rule.