Files
Miguel Angel Simon Sierra f6bf77f3e0 feat(lint): warn on repeated tl.fromTo() on one selector without a tl.set baseline
GSAP applies a fromTo()'s `from` vars to the DOM at authoring time regardless
of timeline position. When the SAME string-literal selector gets 2+ fromTo()
calls with no earlier tl.set()/gsap.set() baseline, the LAST-authored `from`
value becomes the resting state for any seek before the first tween, e.g. a
z-index:999 overlay rendered solid black across ~40% of the timeline while
lint/validate/inspect passed clean.

New rule gsap_repeated_fromto_without_baseline extends the existing gsap
static analysis: warns (not errors) when a byte-identical string-literal
selector has 2+ fromTo windows and no set() baseline for it. Conservative to
avoid the repo's history of gsap false positives: literal selectors only,
skipped when any set targets the same literal, skipped for dynamic selectors.
2026-07-08 16:37:44 -04:00
..
2026-07-07 16:04:26 -07:00
2026-07-07 16:04:26 -07:00
2026-07-07 16:04:26 -07:00
2026-07-07 16:04:26 -07:00
2026-06-16 13:16:09 -04:00
2026-07-07 16:04:26 -07:00
2026-07-07 16:04:26 -07:00
2026-07-07 16:04:26 -07:00