LibreChat/scripts
Marco Beretta adb04422bf
🚦 feat: Lint Disabled Dims That Compose No Disabled Recipe (#16907)
* feat: Lint Disabled Dims That Compose No Disabled Recipe

* fix: Catch Bracketed Disabled Variants and Read Recipes From References

* fix: Skip Enabled-State Branches and False-Valued Disabled States

* fix: Read Full-Opacity Recipes, Primitive Recipes and Compound Conditions

* fix: Keep the Suppression Error Wording the Baseline Spec Reads

* test: Add a lint scenario for the disabled-recipe rule

* fix: Leave negated disabled selectors and conditions alone in the disabled-recipe rule

* feat: Judge disabled recipes per branch, by import and by the element they restore

* fix: Trust recipes only from the theme module and only through defaulted cva variants

* fix: Resolve namespaced recipes through their import

* fix: Read cva disabled variants, guarded recipes and trailing important in the disabled-recipe rule

* fix: Read variant dims a disabled condition picks and recipes behind the same ternary

* fix: Follow nested disabled guards and real cva defaults in the disabled-recipe rule

* fix: Trust recipes only through class helpers and string concatenation

* fix: Read cva compound variants only under compoundVariants and guard key lookups

* fix: Require the recipe that can win for the faded element in the disabled-recipe rule

* fix: Judge stacked disabled variants by their most distant element

* fix: Match recipe markers, read || polarity, compound arrays, constant class strings and helper bindings

* fix: Accept spelled recipes, default-imported primitives, inverted props and disabled-guarded recipes

* fix: Check every chosen dim, trusted helper sources, data-disabled, recipe markers and guard identity

* chore: Re-record the disabled-recipe backlog after rebasing onto dev
2026-10-10 01:47:47 +02:00
..
activity-labels 🟦 chore: Convert Activity-Label Eval Harness to TypeScript (#14530) 2026-07-31 09:58:55 -04:00
eslint 🚦 feat: Lint Disabled Dims That Compose No Disabled Recipe (#16907) 2026-10-10 01:47:47 +02:00
css-colors.mts 🧮 fix: Read Math Function Channels in CSS Custom Property Triplets (#16924) 2026-10-09 18:39:30 +02:00
css-colors.test.mts 🧮 fix: Read Math Function Channels in CSS Custom Property Triplets (#16924) 2026-10-09 18:39:30 +02:00
i18n.mts fix: Verify Sidebar Status and Project Name Loading 2026-10-03 17:56:52 -04:00
i18n.test.mts fix: Verify Sidebar Status and Project Name Loading 2026-10-03 17:56:52 -04:00
merge-locize-download.mjs 🌉 fix: Preserve Missing Locize Translations (#14917) 2026-08-17 02:20:25 -04:00
redis-mode.sh 📉 perf: Bound Early Event Buffering for Detached Generations (#14612) 2026-08-03 19:03:37 -04:00
sort-imports.mts 🧤 docs: Define Safe Backend Error Contracts in AGENTS.md (#16443) 2026-09-28 08:25:26 -04:00
static-checks.mts 🚦 feat: Lint Disabled Dims That Compose No Disabled Recipe (#16907) 2026-10-10 01:47:47 +02:00
validate-locize-download.mjs 🛡️ fix: Validate Translation Contracts Against English (#14914) 2026-08-16 22:55:05 -04:00