Files
Miguel Angel Simon Sierra d7c743f1c4 feat(lint): flag late fromTo tweens that flash the authored state before starting
A timeline fromTo() renders with GSAP's default immediateRender: false.
When its position is after the timeline start and the target's authored
state is visible, the element sits fully rendered from t=0, then jumps
to the from-vars when the tween begins — a visible flash on every
playback and cold seek. In practice this breaks typewriter reveals,
staggered line entrances, and any 'hidden until its beat' element.

New gsap_fromto_flash_before_start rule fires when a fromTo targets a
non-pre-hidden element at a position past the timeline start with
state-changing from-vars. Exemptions:

- authored hidden state (CSS opacity:0, standalone gsap.set, or a
  timeline set-to-hidden at the timeline start)
- identity from-vars (e.g. tl.fromTo(el, { x: 0 }, ...)) — no jump
- immediateRender: true — from-vars hold from load
- tweens at the timeline start (zero flash window)
2026-08-24 14:26:54 -04:00
..
2026-08-19 19:28:13 -04:00
2026-08-19 19:28:13 -04:00
2026-08-19 19:28:13 -04:00
2026-08-19 19:28:13 -04:00
2026-08-19 19:28:13 -04:00
2026-08-19 19:28:13 -04:00