Skip to content

Commit 932bc3a

Browse files
authored
fix(rules): allow icon-size (#330)
1 parent 12ec6dc commit 932bc3a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

stylelint-plugin/rules/use-proper-token/token-map.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ const PROPERTY_TOKEN_MAP = {
6060
'margin-left': ['space'],
6161
'margin-right': ['space'],
6262
'margin-top': ['space'],
63-
'max-height': [],
64-
'max-width': ['breakpoint'],
65-
'min-height': [],
66-
'min-width': ['breakpoint'],
63+
'max-height': ['icon-size'],
64+
'max-width': ['icon-size', 'breakpoint'],
65+
'min-height': ['icon-size'],
66+
'min-width': ['icon-size', 'breakpoint'],
6767
outline: [],
6868
'outline-color': [],
6969
'outline-width': [],

0 commit comments

Comments
 (0)