Skip to content

Commit 0776980

Browse files
committed
fix: replace hidden-{breakpoint}-only with hidden-{breakpoint}
1 parent d3cc998 commit 0776980

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rules/no-deprecated-classes.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ const replacements = new Map([
2121
return `border-${side}${rest}`
2222
}],
2323
[/^text-xs-(left|right|center|justify)$/, ([align]) => `text-${align}`],
24+
[/hidden-(xs|sm|md|lg|xl)-only/, ([breakpoint]) => `hidden-${breakpoint}`],
2425
['scroll-y', 'overflow-y-auto'],
2526
['hide-overflow', 'overflow-hidden'],
2627
['show-overflow', 'overflow-visible'],

0 commit comments

Comments
 (0)