clients/libs/eslint/components
Will Martin 20bc6036c6
[CL] fix no-bwi-class-usage eslint rule to allow helper classes (#18782)
The eslint rule now distinguishes between icon classes (bwi, bwi-lock, etc.)
and helper utility classes (bwi-fw, bwi-sm, bwi-lg, etc.) defined in the SCSS.
Helper classes like bwi-fw are legitimate utility classes that modify appearance
and can be used with bit-icon or other components without triggering warnings.

Updated the rule to maintain an allowlist of helper classes and only error when
actual icon classes are used directly.

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-05 12:07:40 -05:00
..
index.mjs [CL-82] rename bit-icon to bit-svg; create new bit-icon component for font icons (#18584) 2026-01-28 11:36:27 -05:00
no-bwi-class-usage.mjs [CL] fix no-bwi-class-usage eslint rule to allow helper classes (#18782) 2026-02-05 12:07:40 -05:00
no-bwi-class-usage.spec.mjs [CL] fix no-bwi-class-usage eslint rule to allow helper classes (#18782) 2026-02-05 12:07:40 -05:00
require-label-on-biticonbutton.mjs [CL-689][CL-799] Fix Icon button a11y errors (#15750) 2025-08-19 15:15:41 -04:00
require-theme-colors-in-svg.mjs [CL-82] rename bit-icon to bit-svg; create new bit-icon component for font icons (#18584) 2026-01-28 11:36:27 -05:00
require-theme-colors-in-svg.spec.mjs [CL-82] rename bit-icon to bit-svg; create new bit-icon component for font icons (#18584) 2026-01-28 11:36:27 -05:00