From 83ceaeb902f07ffc4bed976ca3bdd501eb60aa55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20=C3=81ngel?= Date: Thu, 20 Aug 2026 18:10:24 -0400 Subject: [PATCH] refactor(lint): drop seven rules that fire on correct compositions (#3366) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Each rule below either reports a hazard the compiler or runtime already prevents, duplicates another rule's invariant with a weaker detector, or cannot be cleared by its own fixHint. Measured over the 643 shipped registry HTML files, this cuts lint output from 1740 findings to 507 (-70.9%) and removes 40 errors, with no new codes introduced. - scene_layer_missing_visibility_kill: regex heuristic keyed on `#sceneN` ids. It only accepts the literal string `visibility: "hidden"`, so the canonical GSAP hard kill (`tl.set(el, { autoAlpha: 0 })`, which sets visibility hidden at runtime) never clears it — an unfixable error. It also matched the `0` inside `opacity: 0.5` and treated `.from({opacity: 0})` entrances as exits. gsap_exit_missing_hard_kill owns this invariant using parsed tween timing and real clip boundaries, and accepts every hidden encoding. - unscoped_gsap_selector: wrapScopedCompositionScript already rewrites string GSAP targets to the composition root for every sub-composition script (pinned by compositionScoping.test.ts "executes document and GSAP selectors inside the composition root"). The rule also never fired on a standalone sub-composition file or a