[buddypress-trac] [BuddyPress Trac] #7028: Use stylelint to lint SCSS & CSS replacing Ruby gem `scss_lint`
buddypress-trac
noreply at wordpress.org
Wed Apr 27 09:23:07 UTC 2016
#7028: Use stylelint to lint SCSS & CSS replacing Ruby gem `scss_lint`
---------------------------------------+-----------------------------
Reporter: netweb | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Tools - Build Process | Version: 2.3.0
Severity: normal | Resolution:
Keywords: needs-patch needs-refresh |
---------------------------------------+-----------------------------
Comment (by netweb):
Replying to [comment:6 hnla]:
> Preserving the human readable formatting keeping the hex codes lined up.
Yes, for the most part big blocks of CSS like your example I've added
"ignore" rules so that it remains human readable :)
> I presume we can change the css comments to forward slash (These
comments are after all not comments we want compiled to a true stylesheet)
as per my example in the sheets where I cancel the check on vendor prefix
for a mixins block.
A great example, thanks, there is '''a lot''' of CSS to read through ;)
I just tested this and using the double slash comments for the `//
stylelint-disable some-rule-here` ignore rules works perfectly so that
these are not compiled to the resulting CSS :)
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7028#comment:8>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list