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
{{ message }}
This repository was archived by the owner on May 14, 2021. It is now read-only.
I'm trying to write an in-house stylelint rule that we want to apply to mixins, e.g.
const mixin = css`
/* Linter rule SHOULD apply here */
`;
but not to styled components, e.g.
const Component = styled.div`
/* Linter rule should NOT apply here */
`;
Basically I want to access the result of isHelper() from within a stylelint rule. One way I could imagine this being implemented is to add another map to index.js (e.g. isHelperMap) and export it, so that in my rule I could run this check: