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
New teams find these shorthand properties quite confusing and its even harder to read the code over the longer properties as you need to understand whats going on. So is there any way to remove those properties and keep the rest? I just want the CSS Properties, and no psudo properties like h, w, pr. I searched and could not find anything.
The text was updated successfully, but these errors were encountered:
So it's a feature request if it's not supported? Or is there somehow for a manual overwrite. Seems strange they extended cssproperties without ability to removed them. The eslint is pretty hacky as it can be ignored.
The big issue here is inconstancy and the team then needs to agree to use one or the other, quite poor DX.
I believe it's better to have configuration over convention for consistency.
@Kivylius You can override anything you want from this library by extending it and/or removing/extracting the types you don't want to include. But you have to build out the types yourself then.
New teams find these shorthand properties quite confusing and its even harder to read the code over the longer properties as you need to understand whats going on. So is there any way to remove those properties and keep the rest? I just want the CSS Properties, and no psudo properties like
h
,w
,pr
. I searched and could not find anything.The text was updated successfully, but these errors were encountered: