Skip to content

chore(deps-dev): bump eslint-plugin-react-hooks from 5.2.0 to 7.1.1 - #307

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bun/eslint-plugin-react-hooks-7.1.1
Closed

chore(deps-dev): bump eslint-plugin-react-hooks from 5.2.0 to 7.1.1#307
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bun/eslint-plugin-react-hooks-7.1.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 10, 2026

Copy link
Copy Markdown
Contributor

Bumps eslint-plugin-react-hooks from 5.2.0 to 7.1.1.

Release notes

Sourced from eslint-plugin-react-hooks's releases.

eslint-plugin-react-hooks@7.1.1 (April 17, 2026)

Note: 7.1.0 accidentally removed the component-hook-factories rule, causing errors for users who referenced it in their ESLint config. This is now fixed.

  • Add deprecated no-op component-hook-factories rule for backwards compatibility. (@​mofeiZ in #36307)

eslint-plugin-react-hooks@7.1.0 (April 16, 2026)

This release adds ESLint v10 support, improves performance by skipping compilation for non-React files, and includes compiler lint improvements including better set-state-in-effect detection, improved ref validation, and more helpful error reporting.

Changelog

Sourced from eslint-plugin-react-hooks's changelog.

7.1.1

Note: 7.1.0 accidentally removed the component-hook-factories rule, causing errors for users who referenced it in their ESLint config. This is now fixed.

  • Add deprecated no-op component-hook-factories rule for backwards compatibility. (@​mofeiZ in #36307)

7.1.0

This release adds ESLint v10 support, improves performance by skipping compilation for non-React files, and includes compiler lint improvements including better set-state-in-effect detection, improved ref validation, and more helpful error reporting.

7.0.1

  • Disallowed passing inline useEffectEvent values 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.flat so the configs export is always defined. (#34950 by @​poteto)
  • Fix named import runtime errors. (#34951, #34953 by @​karlhorky)

7.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-legacy and flat/recommended configs. The plugin now provides recommended (legacy and flat configs with all recommended rules), and recommended-latest (legacy and flat configs with all recommended rules plus new bleeding edge experimental compiler rules). (@​poteto in #34757)

6.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.

6.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.

... (truncated)

Commits

@dependabot dependabot Bot added area:platform 빌드·라우팅·공통 인프라 type:chore 설정·의존성 작업 labels Aug 10, 2026
Bumps [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks) from 5.2.0 to 7.1.1.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/react/react/blob/main/packages/eslint-plugin-react-hooks/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/eslint-plugin-react-hooks@7.1.1/packages/eslint-plugin-react-hooks)

---
updated-dependencies:
- dependency-name: eslint-plugin-react-hooks
  dependency-version: 7.1.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/bun/eslint-plugin-react-hooks-7.1.1 branch from 31d30e0 to 1baf37d Compare August 11, 2026 00:38
BcKmini added a commit that referenced this pull request Aug 11, 2026
* fix: 새 ESLint 규칙(@eslint/js 10) 대응 — 사용 안 하는 대입 제거

WorkInboxTargetList.tsx의 nextIndex 초기값이 모든 분기에서 재대입되거나
return으로 빠져나가 실제로 쓰이지 않던 것을 no-useless-assignment 규칙이 잡음

* chore(deps-dev): @eslint/js 10, eslint-plugin-react-hooks 7 로 업그레이드

eslint-plugin-react-hooks v6+ recommended는 React Compiler 전제 규칙(set-state-in-effect,
refs, preserve-manual-memoization 등 14개)을 대거 포함하는데, 이 프로젝트는 React Compiler를
쓰지 않고 useApiQuery 등 fetch-then-setState 패턴을 전역에서 쓰고 있어서 그대로 켜면
10개 파일에서 오탐(false positive)이 남. rules-of-hooks/exhaustive-deps 두 개만 명시적으로
켜서 기존 동작은 유지하면서 새 버전으로 업그레이드.

resolves dependabot #303, #307
@BcKmini

BcKmini commented Aug 11, 2026

Copy link
Copy Markdown
Member

#308에서 같은 버전 업그레이드 + eslint.config.js 규칙 범위 조정을 함께 반영해서 병합했습니다.

@BcKmini BcKmini closed this Aug 11, 2026
@dependabot @github

dependabot Bot commented on behalf of github Aug 11, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/bun/eslint-plugin-react-hooks-7.1.1 branch August 11, 2026 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:platform 빌드·라우팅·공통 인프라 type:chore 설정·의존성 작업

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant