-
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
Scripts: ESLint minor version upgrade to 7.17.0 #27965
Conversation
d54b19b
to
0039ef0
Compare
Size Change: 0 B Total Size: 1.25 MB ℹ️ View Unchanged
|
Hey there @gziolo 👋 We're using gb-mobile uses metro as a packager/resolver with a custom config and now it seems We're thinking of adding a custom resolver to Any ideas, insights or suggestions around this? |
@ceyhun, actually those checks are disabled for React Native code in Gutenberg: You can follow the same approach for start. In the long run we can add s as custom resolver to account for React Native 👍 |
Description
This PR upgrades ESLint to the latest version for Gutenberg and
@wordpress/scripts
. ESLint upgrade is itself a minor version upgrade. However, some plugins and config used contain breaking changes which means that overall it's going to be a major version bump for two packages as listed.@wordpress/eslint-plugin
Breaking Changes:
eslint-config-prettier
dependency has been updated from requiring^6.10.1
to requiring^7.1.0
.eslint-plugin-jest
dependency has been updated from requiring^23.8.2
to requiring^24.1.3
.Enhancements:
eslint-plugin-jsdoc
dependency has been updated from requiring^30.2.2
to requiring^30.7.13
.eslint-plugin-jsx-a11y
dependency has been updated from requiring^6.2.3
to requiring^6.4.1
.eslint-plugin-prettier
dependency has been updated from requiring^3.1.2
to requiring^3.3.0
.eslint-plugin-react
dependency has been updated from requiring^7.20.0
to requiring^7.22.0
.eslint-plugin-react-hooks
dependency has been updated from requiring^4.0.4
to requiring^4.2.0
.@wordpress/scripts
Breaking Changes:
@wordpress/eslint-plugin
dependency has been updated to the next major version^8.0.0
. There are new ESLint rules enabled in the recommended config used bylint-js
command.Enhancements:
eslint
dependency has been updated from requiring^7.1.0
to requiring^7.17.0
.How has this been tested?
npm run lint-js
Types of changes
Checklist: