Skip to content

Latest commit

 

History

History
114 lines (97 loc) · 7.89 KB

MIGRATION.md

File metadata and controls

114 lines (97 loc) · 7.89 KB

Migration

6.0.1 → 7.0.0

[email protected] is not marked as eslint@7 compatible. But we don't want to downgrade the Airbnb config, so you won't be able to get rid of these messages:

npm WARN [email protected] requires a peer of eslint-plugin-jsx-a11y@^6.4.1 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of eslint@^3 || ^4 || ^5 || ^6 but none is installed. You must install peer dependencies yourself.

Even though the plugin itself should work fine, there are several possible points of failure. The latest Airbnb config that is compatible with [email protected] is v18.1.0. According to the v18.1.0...v18.2.1 diff:

  1. jsx-a11y/aria-role options have been changed from { ignoreNonDom: false } to { ignoreNonDOM: false }. This is probably a typo fix.
  2. jsx-a11y/accessible-emoji rule has been disabled due to deprecation.
  3. jsx-a11y/autocomplete-valid rule has been turned off.

If you use any of these rules, please make sure they work fine with your project.

Other than that, everything should work well.

5.3.2 → 6.0.0

ESLint peer dep was updated to ^7.32.0. Here are migration guides from ESLint:

Also we've changed the config itself. Below you can find full list of the changed rules.

Rules

Changed rules default values

New rules