Skip to content

fix(lint): isolate IIFE timing constants#2378

Merged
miguel-heygen merged 1 commit into
mainfrom
fix/gsap-iife-constant-scope-1783990083
Jul 14, 2026
Merged

fix(lint): isolate IIFE timing constants#2378
miguel-heygen merged 1 commit into
mainfrom
fix/gsap-iife-constant-scope-1783990083

Conversation

@miguel-heygen

Copy link
Copy Markdown
Collaborator

Summary

  • stop leaking same-named constant values across separate IIFE scopes
  • preserve ambiguous position expressions as raw values instead of collapsing them to zero
  • prevent phantom overlapping_gsap_tweens findings for those expressions

Test plan

  • bun test packages/parsers/src/gsapParserAcorn.full.test.ts (67 pass, 4 skip)
  • bun test packages/lint/src/rules/gsap.test.ts (86/86)
  • changed-file oxfmt and oxlint checks pass

@miguel-heygen
miguel-heygen merged commit 6f4c630 into main Jul 14, 2026
36 checks passed
@miguel-heygen
miguel-heygen deleted the fix/gsap-iife-constant-scope-1783990083 branch July 14, 2026 00:53
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