Skip to content

Commit b9cd3ad

Browse files
committed
fix: remove border class replacement
closes #92
1 parent c343829 commit b9cd3ad

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/rules/no-deprecated-classes.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,8 @@ const replacements = new Map([
1313
}[side]
1414
return `rounded-${side}${rest || ''}`
1515
}],
16-
[/^border-([rl])(.*)$/, ([side, rest]) => {
17-
side = {
18-
r: 'e',
19-
l: 's',
20-
}[side]
21-
return `border-${side}${rest}`
22-
}],
2316
[/^text-xs-(left|right|center|justify)$/, ([align]) => `text-${align}`],
24-
[/hidden-(xs|sm|md|lg|xl)-only/, ([breakpoint]) => `hidden-${breakpoint}`],
17+
[/^hidden-(xs|sm|md|lg|xl)-only$/, ([breakpoint]) => `hidden-${breakpoint}`],
2518
['scroll-y', 'overflow-y-auto'],
2619
['hide-overflow', 'overflow-hidden'],
2720
['show-overflow', 'overflow-visible'],

0 commit comments

Comments
 (0)