[wp-trac] [WordPress Trac] #29792: Grunt: Add a precommit task to check for CSS syntax errors
WordPress Trac
noreply at wordpress.org
Mon Oct 6 08:05:54 UTC 2014
#29792: Grunt: Add a precommit task to check for CSS syntax errors
------------------------------+------------------
Reporter: helen | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.1
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
------------------------------+------------------
Comment (by GaryJ):
[https://github.com/cedaro/grunt-wp-css grunt-wp-css] is a wrapper for
CSSComb (and [https://github.com/cedaro/grunt-wp-css/issues/3 currently]
CSSBeautify until an issue in csscomb.js is fixed) and includes a couple
of configs (same, other than default vs alphabetical sort order).
Whether it's csslint or csscomb, I'd like to see a standalone grunt
package ( like grunt-wp-css) which then core and plugins and themes could
use, with minimal configuration, rather than have to set up csslint /
csscomb grunt packages with duplicitous configs.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29792#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list