You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Panda CSS to write my CSS and use an object syntax.
I'd like sort-objects to ignore those objects since I have my own way of sorting them.
However, using the options provided (ignore-pattern and/or styled-components) doesn't work as expected.
Describe the bug
Hi there,
I'm using Panda CSS to write my CSS and use an object syntax.
I'd like
sort-objects
to ignore those objects since I have my own way of sorting them.However, using the options provided (
ignore-pattern
and/orstyled-components
) doesn't work as expected.Code example
My class :
const headerClass = css({ display: 'flex', alignItems: 'center', justifyContent: 'space-between', marginTop: '3', gridGap: '8', });
My rule config :
"perfectionist/sort-objects": [ "error", { "ignore-pattern": ["*Class"], "styled-components": false } ],
Having
"styled-components": true
makes no differenceESLint version
v8.56.0
ESLint Plugin Perfectionist version
v2.5.0
Additional comments
No response
Validations
The text was updated successfully, but these errors were encountered: