eslint-plugin-chakra-ui
eslint-plugin-chakra-ui copied to clipboard
Support component-specific props
Currently, component-specific props such as Button
's isActive
prop are treated as non-chakra props.
This should be treated as Chakra props and sorted properly.
It's hard to list all props so code generation from chakra's source code is worth to consider.
~In order to support Component Specific Props, we need to know the names of the components. For this reason, we need to decide how to deal with <Chakra.Button/>
, <chakra.div>
, and <RenamedChakraComponent/>
, which we have ignored so far.~
~If it is too difficult, we may leave it for a while.~ I guess I was too tired to think straight.