Description
Ideally in projects like Studio we'd only use Assembly classes, or a small amount of custom CSS. Sadly sometimes things in className={} are misnamed or don't actually exist.
I think we should make an ESLint plugin that checks all className={} and classnames statements to ensure all classes are valid in MBX Assembly.
An escape hatch could be an ESLint option that accepts additional class names.
Description
Ideally in projects like Studio we'd only use Assembly classes, or a small amount of custom CSS. Sadly sometimes things in
className={}are misnamed or don't actually exist.I think we should make an ESLint plugin that checks all
className={}andclassnamesstatements to ensure all classes are valid in MBX Assembly.An escape hatch could be an ESLint option that accepts additional class names.