chore(deps): update linters (major)
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| eslint-plugin-react-hooks (source) | 5.2.0 -> 7.0.1 |
||
| stylelint-config-standard | 38.0.0 -> 39.0.1 |
Release Notes
facebook/react (eslint-plugin-react-hooks)
v7.0.1
- Disallowed passing inline
useEffectEventvalues as JSX props to guard against accidental propagation. (#​34820 by @​jf-eirinha) - Switch to
export =so eslint-plugin-react-hooks emits correct types for consumers in Node16 ESM projects. (#​34949 by @​karlhorky) - Tightened the typing of
configs.flatso theconfigsexport is always defined. (#​34950 by @​poteto) - Fix named import runtime errors. (#​34951, #​34953 by @​karlhorky)
v7.0.0
This release slims down presets to just 2 configurations (recommended and recommended-latest), and all compiler rules are enabled by default.
-
Breaking: Removed
recommended-latest-legacyandflat/recommendedconfigs. The plugin now providesrecommended(legacy and flat configs with all recommended rules), andrecommended-latest(legacy and flat configs with all recommended rules plus new bleeding edge experimental compiler rules). (@​poteto in #​34757)
v6.1.1
Note: 6.1.0 accidentally allowed use of recommended without flat config, causing errors when used with ESLint v9's defineConfig() helper. This has been fixed in 6.1.1.
- Fix
recommendedconfig for flat config compatibility. Therecommendedconfig has been converted to flat config format. Non-flat config users should userecommended-legacyinstead. (@​poteto in #​34700) - Add
recommended-latestandrecommended-latest-legacyconfigs that include React Compiler rules. (@​poteto in #​34675) - Remove unused
NoUnusedOptOutDirectivesrule. (@​poteto in #​34703) - Remove
hermes-parserand dependency. (@​poteto in #​34719) - Remove
@babel/plugin-proposal-private-methodsdependency. (@​ArnaudBarre and @​josephsavona in #​34715) - Update for Zod v3/v4 compatibility. (@​kolian and @​josephsavona in #​34717)
v6.1.0
Note: Version 6.0.0 was mistakenly released and immediately deprecated and untagged on npm. This is the first official 6.x major release and includes breaking changes.
- Breaking: Require Node.js 18 or newer. (@​michaelfaith in #​32458)
-
Breaking: Flat config is now the default
recommendedpreset. Legacy config moved torecommended-legacy. (@​michaelfaith in #​32457) -
New Violations: Disallow calling
usewithin try/catch blocks. (@​poteto in #​34040) -
New Violations: Disallow calling
useEffectEventfunctions in arbitrary closures. (@​jbrown215 in #​33544) - Handle
React.useEffectin addition touseEffectin rules-of-hooks. (@​Ayc0 in #​34076) - Added
react-hookssettings config option that to acceptadditionalEffectHooksthat are used across exhaustive-deps and rules-of-hooks rules. (@​jbrown215) in #​34497
v6.0.0
Accidentally released. See 6.1.0 for the actual changes.
stylelint/stylelint-config-standard (stylelint-config-standard)
v39.0.1
- Fixed:
layer-name-patternfalse positives for dot notation.
v39.0.0
- Removed:
stylelintless than16.23.0from peer dependencies. - Changed: updated to
[email protected]. - Added:
block-no-redundant-nested-style-rulesrule.
Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 0-3 1 * * ) (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.