Skip to content

Commit

Permalink
fix: remove border class replacement
Browse files Browse the repository at this point in the history
closes #92
  • Loading branch information
KaelWD committed Apr 15, 2024
1 parent c343829 commit b9cd3ad
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/rules/no-deprecated-classes.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down

0 comments on commit b9cd3ad

Please sign in to comment.