Skip to content
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

Bump @wordpress/eslint-plugin from 7.4.0 to 8.0.0 (and fix new lint errors) #5800

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Jan 21, 2021

Bumps @wordpress/eslint-plugin from 7.4.0 to 8.0.0.

Release notes

Sourced from @wordpress/eslint-plugin's releases.

8.0.0

Features

  • Add subscript and superscript formatting options. (21819)
  • Move the Block Patterns UI to the inserter. (20951)
  • Improve layout and usability of code editor. (21643)

Enhancements

  • Add inserter previews to more blocks. (21740)
  • Performance improvements:
    • Import from individual react-dates component. (21914)
    • Upgrade showdown Markdown processor library. (21862)
  • Allow title and button-based appender to inherit styles. (21749)
  • Output float clearing for all centered blocks. (21608)
  • Update 'Welcome Guide' illustrations. (21515)

New APIs

  • A new Block Context API has been partially implemented, currently limited to block settings and editor APIs. PHP APIs will be implemented in the next plugin releases. (21467, 21868, 21921)
  • Add new "G2"-styled icons to the Icons package. (21209)

Bug Fixes

  • Change wp_make_content_images_responsive to wp_filter_content_tags to resolve warnings in WordPress 5.5-alpha. (21514)
  • Collapse selection to end after link insertion. (17126)
  • Fix selected category on existing Latest Posts blocks. (21359)
  • Fix overlapping column contents for embeds. (21570)
  • Fix focus styling for date picker calendar days. (21600)
  • NPM Packages
    • Fix "Cannot find module '../utils'" error. (21609)
    • Types: Hide element, primitives, icons declarations. (21613, 21784)
  • Inherit font styles in block appender placeholder. (21725)
  • Allow default pasting behavior in FontSizePicker. (21812)
  • Prevent negative custom text sizes. (21815)
  • Fix image center alignment behavior. (21911)
  • Fix centered buttons margins. (21947)
  • Revert the button block to the previous markup. (21923)
  • Avoid using inline RichText element for navigation link. (21856)
  • Ensure resetEditorBlocks is synchronous. (21839)
  • Fix the button outline style for the old button markup. (21816)
  • Fix default attribute on audio preload. (21735)
  • Fix gradient picker double-click bug. (21732)
  • Fix broken links in handbook. (21686)
  • Make useMediaQuery return the correct value on the first render. (21682)
  • Fix visual issue on windows with 782px. (21661)
  • Allow wrapping for Navigation block links. (21632)
  • Remove redundant margins from the columns block. (21615)
  • Fix media Text padding on inner blocks. (21612)
  • Restore floated image margins. (21500)

... (truncated)

Changelog

Sourced from @wordpress/eslint-plugin's changelog.

8.0.0 (2021-01-21)

Breaking Changes

  • Increase the minimum Node.js version to 12 (#27934).
  • Enabled import/no-extraneous-dependencies rule in the recommended ruleset.
  • Enabled import/no-unresolved rule in the recommended ruleset.
  • Enabled no-unsafe-wp-apis rule in the recommended ruleset (#27327).
  • The bundled eslint-config-prettier dependency has been updated from requiring ^6.10.1 to requiring ^7.1.0 (#27965).
  • The bundled eslint-plugin-jest dependency has been updated from requiring ^23.8.2 to requiring ^24.1.3 (#27965).

Enhancements

  • The bundled eslint-plugin-jsdoc dependency has been updated from requiring ^30.2.2 to requiring ^30.7.13 (#27965).
  • The bundled eslint-plugin-jsx-a11y dependency has been updated from requiring ^6.2.3 to requiring ^6.4.1 (#27965).
  • The bundled eslint-plugin-prettier dependency has been updated from requiring ^3.1.2 to requiring ^3.3.0 (#27965).
  • The bundled eslint-plugin-react dependency has been updated from requiring ^7.20.0 to requiring ^7.22.0 (#27965).
  • The bundled eslint-plugin-react-hooks dependency has been updated from requiring ^4.0.4 to requiring ^4.2.0 (#27965).
Commits
  • b1acb2e chore(release): publish
  • bf838b5 Update changelog files
  • 3b6fd5a Merge changes published in the Gutenberg plugin "release/9.8" branch
  • See full diff in compare view
Maintainer changes

This version was pushed to npm by noisysocks, a new releaser for @wordpress/eslint-plugin since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

Dependabot will not automatically merge this PR because it includes an out-of-range update to a development dependency.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jan 21, 2021
@westonruter westonruter added this to the v2.1 milestone Jan 23, 2021
@westonruter
Copy link
Member

@dependabot rebase

@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/wordpress/eslint-plugin-8.0.0 branch from 9ae7790 to 8a6b5b5 Compare January 23, 2021 06:56
@pierlon pierlon self-assigned this Jan 23, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Jan 23, 2021

Plugin builds for 95a287a are ready 🛎️!

@pierlon
Copy link
Contributor

pierlon commented Jan 23, 2021

This update makes the import/no-extraneous-dependencies eslint rule recommended, which highlights all the external dependencies that we use that are not listed in package.json. I've added them in 69fb500.

@westonruter
Copy link
Member

For some reason this is causing JS unit tests to fail.

"prop-types": "15.7.2",
"react": "16.14.0",
"react-dom": "16.14.0",
Copy link
Contributor

@pierlon pierlon Jan 27, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be best to keep react, react-dom and react-test-renderer at the same versions to prevent any JS build or test errors.

@pierlon pierlon changed the title Bump @wordpress/eslint-plugin from 7.4.0 to 8.0.0 Bump @wordpress/eslint-plugin from 7.4.0 to 8.0.0 (and fix new lint errors) Jan 27, 2021
@dependabot-preview dependabot-preview bot merged commit 291275a into develop Jan 28, 2021
@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/wordpress/eslint-plugin-8.0.0 branch January 28, 2021 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants