-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[@wordpress/eslint-plugin] Support for ESlint v8 #35576
Comments
Hi,
Hope that helps, thanks! |
@simonhammes is working on the upgrade in #36283 🎉 |
* Update @typescript-eslint/eslint-plugin to ^5.3.0 * Update @typescript-eslint/parser to ^5.3.0 * Update eslint-plugin-jest to ^25.2.3 Changelog: https://github.com/jest-community/eslint-plugin-jest/blob/1cfded5a2744656227d7bf616d65ec12b7ddb287/CHANGELOG.md#2500-2021-10-10 * Update eslint-config-prettier to ^8.3.0 I have removed prettier/react from the config since all configs were merged into each other. See changelog: https://github.com/prettier/eslint-config-prettier/blob/5a2f0e24382a8e1322784bc836d47706cccd2f1e/CHANGELOG.md#version-800-2021-02-21 * Update eslint-plugin-jsdoc to ^37.0.3 Changelog: https://github.com/gajus/eslint-plugin-jsdoc/releases/tag/v37.0.0 * Update globals to ^13.12.0 Changelog: https://github.com/sindresorhus/globals/releases/tag/v13.0.0 * scripts: Update eslint to ^8.2.0 Changelog: https://eslint.org/docs/user-guide/migrating-to-8.0.0 * Document dependency updates in changelogs * eslint-plugin: Update eslint-plugin-react-hooks to ^4.3.0 * eslint-plugin: Update eslint-plugin-react to ^7.27.0 * eslint-plugin: Update eslint-plugin-jsx-a11y to ^6.5.1 * Update package-lock.json * scripts: Update eslint to ^8.3.0 * Add moduleNameMapper entry for @eslint/eslintrc * eslint-plugin: Update eslint peer dependency constraint * jest-preset-default: Add moduleNameMapper for ESLint * Update packages/eslint-plugin/package.json Co-authored-by: Greg Ziółkowski <grzegorz@gziolo.pl> * Update package-lock.json * Update CHANGELOG.md Co-authored-by: Simon Hammes <simonhammes@users.noreply.github.com> Co-authored-by: Greg Ziółkowski <grzegorz@gziolo.pl>
Hello! Thank you for bumping the ESLint version. I see that the version is updated in TRUNK, but the current version on NPM is 9.3.0 and still has a peer dependency of ^6 | ^7. What does the release schedule look like for If 9.3 should have the correct versions, I'd love help figuring out what might be going on that I keep getting the wrong peer dependency. (all my other packages that use eslint are on 8.4.1). UPDATE: I noticed that the 36283 is schedule for Gutenberg 12.2, and I'm assuming that this package will get bumped at that time. |
We are in the process of releasing the next major WordPress version (5.9) so we don't do regular npm publishing every two weeks. I plan to run the development release with the |
It's now available for testing on npm with:
The stable version should be available in the second half of January. |
Description
ESlint v8 has been released and it includes a few breaking changes.
@wordpress/eslint-plugin
should support it. At the very least it should:8
as a valid peer dependencyeslint-plugin-*
dependencies to a version that supports ESLint v8I haven't check if the provided rules must be updated as well to work in ESLint v8
Step-by-step reproduction instructions
N/A
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: