You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But now I won't get any linting errors when I make a mistake in the values of those properties. Some of these properties I can simply avoid (like I can write margin: 0 10px instead of margin-horizontal: 10px), but for others there's no equivalent in standard CSS.
It would be great if these react-native extensions were supported by stylelint-validator. Even greater would be having a native mode switch (e.g. only allowing display: none|flex;).
The text was updated successfully, but these errors were encountered:
When using styled-components in React Native, I can write CSS like:
But when seeing these properties, the
csstree/validator
will report error:To overcome this, I can disable checking of these properties:
But now I won't get any linting errors when I make a mistake in the values of those properties. Some of these properties I can simply avoid (like I can write
margin: 0 10px
instead ofmargin-horizontal: 10px
), but for others there's no equivalent in standard CSS.It would be great if these react-native extensions were supported by
stylelint-validator
. Even greater would be having a native mode switch (e.g. only allowingdisplay: none|flex;
).The text was updated successfully, but these errors were encountered: