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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Minor Changes
#52d1182f5 Thanks @stevensacks! - Add a cn-conditional guardrails rule that reports object arguments and ternaries with an empty branch (undefined, null, false, '') passed to cn from the cn package, so a conditional class is written as cond && 'class'. It keys on the cn import from 'cn' and stays active in test and story files. Add cn to the Prettier config's tailwindFunctions so classes inside cn(...) sort like twJoin and twMerge, which stay in the list.