Skip to content

build(deps): Bump eslint-plugin-react-you-might-not-need-an-effect to 1.0.1#118372

Draft
ryan953 wants to merge 1 commit into
masterfrom
worktree-bump-you-might-not-need-an-effect
Draft

build(deps): Bump eslint-plugin-react-you-might-not-need-an-effect to 1.0.1#118372
ryan953 wants to merge 1 commit into
masterfrom
worktree-bump-you-might-not-need-an-effect

Conversation

@ryan953

@ryan953 ryan953 commented Jun 24, 2026

Copy link
Copy Markdown
Member

Updates eslint-plugin-react-you-might-not-need-an-effect from 0.5.3 to 1.0.1.

The 1.0 release removed two rules and added one, so the flat config needs adjusting alongside the bump:

  • Removed the no-empty-effect and no-manage-parent rule references. Both rules no longer exist in the plugin, and ESLint errors on references to unknown rules.
  • Added no-external-store-subscription: 'off'. This is a new rule that the plugin's recommended config enables by default; since this config block spreads ...configs.recommended and intentionally enables only no-derived-state, the new rule is disabled to keep current behavior.

No change to which violations are enforced — no-derived-state remains the only active rule. Note that 1.0.1 has improved no-derived-state detection, so CI may surface new violations in existing code that the older version missed.

@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jun 24, 2026
… 1.0.1

Update eslint-plugin-react-you-might-not-need-an-effect from 0.5.3 to 1.0.1.

The 1.0 release removed the no-empty-effect and no-manage-parent rules and
added a new recommended no-external-store-subscription rule. Update the
flat config accordingly: drop the two removed rule references (which would
otherwise error) and disable the new rule to preserve the existing behavior
of enabling only no-derived-state.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ryan953 ryan953 force-pushed the worktree-bump-you-might-not-need-an-effect branch from cb8a568 to 7363d77 Compare June 24, 2026 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant