Open jaffrepaul opened 2 years ago
@jordanpowell88 @jaffrepaul Can this also entail removing lib/scripts
from eslint-plugin-dev
entirely? As of #25308, I don't see where any of these scripts are used in any repo in the cypress-io
org. Also, they appear to be broken, I cannot get them to run, even though the tests are passing.
Makes sense to me!
@jennifer-shehane
Regarding your comment in https://github.com/cypress-io/eslint-plugin-cypress/issues/114#issuecomment-2051912881
Yes, we don't intend to move this repo to the cypress repo. We'd prefer to keep it here.
npm/eslint-plugin-dev is not compatible with ESLint 8
due to a deprecation in this version (see The /lib
entrypoint has been removed).
Beginning in v8.0.0, ESLint is strictly defining its public API. Previously, you could reach into individual files such as require("eslint/lib/rules/semi") and this is no longer allowed. There are a limited number of existing APIs that are now available through the /use-at-your-own-risk entrypoint for backwards compatibility, but these APIs are not formally supported and may break or disappear at any point in time.
So it's questionable whether this architecture should be carried forward or whether the eslint-plugin-dev
should be withdrawn from use. The ESLint 8 release was announced in Oct 2021 and the latest announcement was for the ESLint 9 release on Apr 5, 2024.
What would you like?
Why is this needed?
There are a few things that can be addressed:
Also...
Other
No response