-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Unable to use plugin:es/restrict-to-es2019
#172
Comments
🤦🏻 I think found a solution: compat.plugins('import', '@stylistic', '@cspell', 'es')
compat.config({
extends: ['plugin:es/restrict-to-es2019']
}) This wasn't documented anywhere, so it is kind of confusing, actually. I wish the plugin parser could work respectively to |
Use the maintained fork of the plugin instead: https://github.com/eslint-community/eslint-plugin-es-x |
That's correct. I prepared a PR to update the docs with an example: #173 |
Hi, I'm trying to use https://eslint-plugin-es.mysticatea.dev/ in a project and I'm not sure how to implement it. The problem is, library suggests to use
es/restrict-to-es2019
as pluginand when I do, ESLint throws the following error
The text was updated successfully, but these errors were encountered: