[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 17:11:31 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:  has-patch         |     Focuses:
------------------------------+------------------

Comment (by jorbin):

 Thanks for the start on this x2048!

 I think error checking is something we can do just by using something like
 https://github.com/reworkcss/css to see if the AST is built properly and
 if it errors, we know that we have an error. This seems to be the base of
 what you are using x2048.

 Having a style checker seems like a separate issue and thus should be a
 separate ticket.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29792#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list