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
It's very understandable that the stylelint rules don't support the nested properties, but I was wondering if there would be a better way to add the nested property support to those rules than just duplicating them in this library.
I've been trying to avoid the mirroring of rules from the stylelint core repo, but sometimes it has been the only sensible way to make the rule work with SCSS.
Following the discussion with @jeddy3 in the Stylelint core repository, and recognizing that discouraging the use of nested properties is not a viable option due to its significance as one of the valuable features of SCSS, I agree that we should mirror the rule in stylelint/scss and provide support for nested properties. Let me know your thoughts, @kristerkari, and if you're on board with the idea, I can take care of the implementation. :)
Rule declaration-property-value-no-unknown doesn't work for SCSS nested properties. So
font-size: red;
raises an error, butfont: { size: red; }
does not.Demo here.
The text was updated successfully, but these errors were encountered: