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
Essentially, the variables will always end in Styles (e.g. buttonStyles), and I would like the matcher to apply to all properties within that object.
I tried the following, but as the type of matcher suggests, the name property is simply a string(?) not a regex, and my regex skills sadly aren't polished enough to match all the properties / values within the object.
variables: [[// matches variables endting in `Styles`'.*Styles',// matches the object value for the `base` key (ideally, should match ALL values for ALL keys).[{match: 'objectValues',pathPattern: '^base|\\.base',},],]],
I appreciate any help you could lend.
Thanks again!
The text was updated successfully, but these errors were encountered:
Hi. Great plugin!
I went through the docs and saw the examples that target specific variables and object properties.
Wondering if / how I could get the plugin to lint this structure:
Essentially, the variables will always end in
Styles
(e.g.buttonStyles
), and I would like the matcher to apply to all properties within that object.I tried the following, but as the type of matcher suggests, the
name
property is simply a string(?) not a regex, and my regex skills sadly aren't polished enough to match all the properties / values within the object.I appreciate any help you could lend.
Thanks again!
The text was updated successfully, but these errors were encountered: