eslint-config-airbnb version 18.0.0 introduces notable updates compared to its predecessor, version 17.1.1, primarily involving dependency upgrades and the addition of React Hooks support. The core dependency, eslint-config-airbnb-base, has been bumped from 13.2.0 to 14.0.0, potentially bringing in new base ESLint rules and configurations.
For developers utilizing React, the most significant change is the inclusion of eslint-plugin-react-hooks as both a devDependency and a peerDependency. This addition, alongside the upgrade of eslint-plugin-react to ^7.14.3, ensures that developers can now leverage ESLint to enforce the rules of hooks. This is particularly valuable for preventing subtle bugs related to incorrect hook usage.
Other key dependency updates appear in the devDependencies. Notably, eslint has been upgraded to support versions ^5.16.0 || ^6.1.0, offering widened compatibility with more recent ESLint releases. The addition of @babel/runtime suggests a possible shift in the build or testing process. Also, babel-preset-airbnb has been updated to ^4.0.1, suggesting that the version 18.0.0 has a new configuration regarding babel.
These changes collectively point to a focus on modernizing the configuration, improving React-specific linting capabilities (especially around hooks), and aligning with newer versions of essential development tools. Developers upgrading should review their code for any violations flagged by the new React Hooks rules and also should check for backward incompatible changes in eslint-config-airbnb-base.
The are not vulnerabilities for the version 18.0.0 of the package eslint-config-airbnb