Skip to content

docs(contributing): require both conditions for compat behavior fixes - #2125

Merged
raon0211 merged 1 commit into
mainfrom
docs/contributing-compat-both-conditions
Sep 30, 2026
Merged

raon0211 merged 1 commit into
mainfrom
docs/contributing-compat-both-conditions

Conversation

@raon0211

Copy link
Copy Markdown
Collaborator

Summary

The "Fixing behavior that differs from Lodash" section in CONTRIBUTING.md accepted a compat difference when at least one of the two conditions held: the call compiles against @types/lodash in strict mode, or real public code makes the call.

This PR changes it so that both conditions must hold. A pull request that satisfies only one of them will be closed even when the fix is correct.

Changes

  • "at least one of the following holds" → "both of the following hold"
  • "If neither applies, we close the pull request" → "If either is missing, we close the pull request"

🤖 Generated with Claude Code

Compat fixes for behavior that differs from Lodash must now both compile
against @types/lodash in strict mode and be backed by a call in real
public code, instead of satisfying only one of the two.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@raon0211
raon0211 requested a review from dayongkr as a code owner September 30, 2026 02:14
@vercel

vercel Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
es-toolkit Ready Ready Preview Sep 30, 2026 2:20am UTC

Request Review

@raon0211
raon0211 merged commit 4504e98 into main Sep 30, 2026
9 of 10 checks passed

This branch was successfully deployed

1 active deployment
Preview — 6648440a Deployed Sep 30, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant