diff --git a/src/rules/no-deprecated-classes.js b/src/rules/no-deprecated-classes.js index d7fbad3..32464d7 100755 --- a/src/rules/no-deprecated-classes.js +++ b/src/rules/no-deprecated-classes.js @@ -13,15 +13,8 @@ const replacements = new Map([ }[side] return `rounded-${side}${rest || ''}` }], - [/^border-([rl])(.*)$/, ([side, rest]) => { - side = { - r: 'e', - l: 's', - }[side] - return `border-${side}${rest}` - }], [/^text-xs-(left|right|center|justify)$/, ([align]) => `text-${align}`], - [/hidden-(xs|sm|md|lg|xl)-only/, ([breakpoint]) => `hidden-${breakpoint}`], + [/^hidden-(xs|sm|md|lg|xl)-only$/, ([breakpoint]) => `hidden-${breakpoint}`], ['scroll-y', 'overflow-y-auto'], ['hide-overflow', 'overflow-hidden'], ['show-overflow', 'overflow-visible'],