chakra-ui / eslint-plugin-panda

Official ESLint Plugin for Panda CSS
76 stars 5 forks source link

no-hardcoded-color does not support new token/opacity syntax. #31

Closed MeanBoyCousin closed 9 months ago

MeanBoyCousin commented 9 months ago

Given a style such as bgColor: 'green.30/10', I would expect this to be considered valid when using the @pandacss/no-hardcoded-color rule. Currently, linting yields Error: "green.30/10" is not a valid color token.

Perhaps this could be added to the rule, or considered as a possible configuration for the rule.

MeanBoyCousin commented 8 months ago

Why was this closed with no response?

anubra266 commented 8 months ago

@MeanBoyCousin This was closed as completed in https://github.com/chakra-ui/eslint-plugin-panda/commit/36414a9f712c6b8a1c1ae3f773fa30447d848f90

MeanBoyCousin commented 8 months ago

Ahh amazing, thank you.,