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

migration from babel-eslint to @babel/eslint-parser #8

Closed
abhijithvijayan opened this issue Feb 14, 2021 · 2 comments
Closed

migration from babel-eslint to @babel/eslint-parser #8

abhijithvijayan opened this issue Feb 14, 2021 · 2 comments

Comments

@abhijithvijayan
Copy link
Owner

@abhijithvijayan abhijithvijayan commented Feb 14, 2021

babel-eslint is now deprecated in favour of https://www.npmjs.com/package/@babel/eslint-parser

@abhijithvijayan
Copy link
Owner Author

@abhijithvijayan abhijithvijayan commented Feb 14, 2021

Migration:

yarn remove babel-eslint

# bump config version & install new dependencies
npx install-peerdeps @abhijithvijayan/eslint-config --dev --yarn

NOTE: if you are overriding parser options, set requireConfigFile to false

{
        ...
	"parserOptions": {
		"requireConfigFile": false // allow @babel/eslint-parser to run on files that do not have a Babel configuration associated with them
	},
}

@abhijithvijayan
Copy link
Owner Author

@abhijithvijayan abhijithvijayan commented Feb 14, 2021

fixed in v2.6.1

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

Successfully merging a pull request may close this issue.

None yet
1 participant