-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
chore: move compat dependency to devDependencies #1187
Conversation
We no longer use it in production code, only in tests. So we can move this to `devDependencies` now.
|
Try the Instant Preview in Online PlaygroundInstall the Instant Preview to Your Local
Published Instant Preview Packages:
|
Is that really needed? We requires |
from what i remember, in 8.57.1, the flat rule tester is in the index exports the legacy rule tester in 9.x, the index exports the flat rule tester, and so we'd need a conditional import of some sort, or continue using the compat utils |
I personally think that's easy enough to use |
ok i've pushed a change it seems to work locally with eslint 8. please take a look |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it’s fine, but let’s have @ota-meshi, the owner of eslint-compat-utils
, confirm it as well.
when reviewing it, @ota-meshi, keep in mind this is only in tests. your compat code does some patching up of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's great that eslint-compat-utils is no longer needed! Thanks!
Oh... We should have included the changeset since this is a dependency removal. |
We no longer use it in production code, only in tests. So we can move this to
devDependencies
now.