[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 11:44:26 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 hnla):
> but WordPress has chosen the property: 0 0 0 type format,
Hmm it's not really a choice WP has made, if you need to state top right
and bottom and if left is to have the same value as right then it's poor
coding to state the lefts unit when CSS allows for inheritance of values
when not explicitly stated, so this isn't a choice but the way one should
write values; WP in this sense is simply following accepted practices - a
good thing!
So I can see postcss is quite smart, but it is still only a automated
tool, historically CSS has never been a language that can be dealt with
this way, as smart or smarter that postcss might be it is still not going
to be aware of the full cascade a site may be handling thus it can't know
if I'm having to declare all units for a specific reason.
Lets ignore this though for the moment and focus on your @todo items
earlier as then this can be committed and linting to these new rules can
occur.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7028#comment:10>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list