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
Got a few basic new rules I'd like to add to Sass-lint and I think all would probably be disabled by default a la no-extends. Be great to get your thoughts @sasstools/sass-lint-contributors esp. on ...-selector vs ...-selectors
no-universal-selector
no-attribute-selector
no-combinators
If it's all good, I'll push up the PR 🎉
No Universal Selector
Rule no-universal-selector will enforce that the * (universal) selector is not allowed to be used.
I would make them plural in name to follow what we already do. i.e. no-meregeable-selectors, no-color-keywords but apart from that I think they're ok, i'll have a closer look though. I would have them disabled in our config by default though maybe?
With no-combinators have you checked with interpolated values?
Got a few basic new rules I'd like to add to Sass-lint and I think all would probably be disabled by default a la
no-extends
. Be great to get your thoughts @sasstools/sass-lint-contributors esp. on...-selector
vs...-selectors
no-universal-selector
no-attribute-selector
no-combinators
If it's all good, I'll push up the PR 🎉
No Universal Selector
Rule
no-universal-selector
will enforce that the*
(universal) selector is not allowed to be used.Examples
When enabled, the following are disallowed:
No Attribute Selector
Rule
no-attribute-selector
will enforce that the attribute selector is not allowed to be used.Examples
When enabled, the following are disallowed:
No Combinators
Rule
no-combinators
will enforce that the combinators are not allowed to be used.Examples
When enabled, the following are disallowed:
The text was updated successfully, but these errors were encountered: