docs: eslint-plugin-dev readme add eslint 8+ unsupported #29346
Merged
+2
−0
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.
Additional details
Attempting to lint @cypress/eslint-plugin-dev with ESLint
v8
fails with:The ESLint Migrate to v8.0.0 document describes the following in the section The /lib entrypoint has been removed:
The following code shows that @cypress/eslint-plugin-dev is using
require
in the way that is described as no longer allowed in ESLint8.x
.cypress/npm/eslint-plugin-dev/lib/custom-rules/arrow-body-multiline-braces.js
Line 2 in 768afcc
Steps to test
eslint@^7.32.0
and with@cypress/eslint-plugin-dev@3.9.1
. The CircleCI workflow confirms that linting is successful with ESLint7.x
.@cypress/eslint-plugin-dev@5.3.3
(latest available version) fails with ESLint8.x
.How has the user experience changed?
There is no change to the end-user experience. This is a documentation-only change which affects Cypress developers only.
PR Tasks
cypress-documentation
?type definitions
?