You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Autocomplete -> AutocompleteField. Wrappers and flag-off fallbacks are exempted
// via `overrides` in biome.json.
or {
`<TextField $props />` where {
$props <: contains jsx_attribute(name=`label`)
},
`<TextField $props>$_</TextField>` where {
$props <: contains jsx_attribute(name=`label`)
},
`<InputLabel $props />`,
`<InputLabel $props>$_</InputLabel>`
} as $match where {
register_diagnostic(span=$match, message="Floating label on a raw MUI control. Use a top-label wrapper instead: Autocomplete -> component/common/AutocompleteField/AutocompleteField | Select + InputLabel -> component/common/SelectField (or component/common/GeneralSelect/GeneralSelect) | TextField -> component/common/Input/Input", severity="warn")