Draft: Add lint rule disallowing GlListbox import
What does this MR do and why?
This adds a temporary lint rule against using the GlListbox
import alias for GlCollapsibleListbox
.
Addresses #382423 (closed), part of &9091 (closed).
Draft
This is draft because:
- It depends on !105262 (merged).
- Pajamas Migration day is on 2022-12-01, and will likely result in several MRs which add
GlListbox
imports. We should wait until the week after to merge this to avoid master:broken.
Screenshots or screen recordings
n/a
How to set up and validate locally
- Write
import { GlListbox } from '@gitlab/ui'
- Observe lint error
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #382423 (closed)
Edited by Mark Florian