How to Enforce Shorthand Properties? #2957
-
Hello everyone, I’m looking for advice on whether there’s a way to enforce shorthand properties within Panda CSS. Specifically, I’d like to know if it’s possible to restrict the use of standard CSS properties like background and instead enforce the use of shorthand properties like bg. For example: Restrict background but enforce bg instead. Thanks in advance for your guidance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
How about trying eslint-plugin-panda prefer-shorthand-properties? |
Beta Was this translation helpful? Give feedback.
-
@EkeMinusYou Thank you very much! It is exactly what I was looking for. |
Beta Was this translation helpful? Give feedback.
How about trying eslint-plugin-panda prefer-shorthand-properties?