Scripts: Upgrade ESLint to the new major version (7.x) #22385
Labels
Needs Dev
Ready for, and needs developer efforts
[Status] In Progress
Tracking issues with work in progress
[Tool] ESLint plugin
/packages/eslint-plugin
[Tool] WP Scripts
/packages/scripts
[Type] Breaking Change
For PRs that introduce a change that will break existing functionality
Description
ESLint
v7.0.0
was released:https://eslint.org/blog/2020/05/eslint-v7.0.0-released
We should update our packages to use the latest version. It has a few breaking changes as highlighted here:
https://eslint.org/blog/2020/05/eslint-v7.0.0-released#breaking-changes
One of the issues resolved (eslint/eslint#11558) allows us to remove the following workaround added in #17744:
gutenberg/packages/scripts/config/.eslintrc.js
Lines 6 to 10 in 605cb2b
References
It might be helpful to look at previous PR where minor version upgrade for ESLint was applied: #21424. The changes included:
The text was updated successfully, but these errors were encountered: