eslint-plugin-chakra-ui
eslint-plugin-chakra-ui copied to clipboard
Select which ones will be shorthanded.
Instead of all shorehand being converted, I would like to select which targets are shorthanded. e.g. target:['default', 'all', 'none' , [margin]
I don't want everything to be shorthand, rather we do want to prevent shorthand and non-shorhand from being used at the same time.
I also wish for the same functionality.
In my case, I want to prohibit the use of single-letter properties such as m
, h
, or so on. For other properties, I would like to use shorthands like mx
.
@tarao1006 Feel free to send a pull request!
If you are not confident, I can review the design before starting implementation