gucong3000 / postcss-jsx

PostCSS syntax for parsing CSS in JS literals
MIT License
76 stars 28 forks source link

Add node type to raw key and value objects #71

Closed profaurore closed 8 months ago

profaurore commented 1 year ago

Add the node type to the key and value raw data.

This will make it easier for linters to handle non-literal values such as those found in Javascript objects (ex: { width: myWidth }).

For additional examples of the linting issue, see https://github.com/stylelint/stylelint/issues/5185.

Also updated the tests so that they pass.