[wp-trac] [WordPress Trac] #29792: Grunt: Add a precommit task to check for CSS syntax errors

WordPress Trac noreply at wordpress.org
Tue Oct 13 09:45:38 UTC 2015


#29792: Grunt: Add a precommit task to check for CSS syntax errors
------------------------------+-----------------------
 Reporter:  helen             |       Owner:  netweb
     Type:  enhancement       |      Status:  assigned
 Priority:  normal            |   Milestone:  4.4
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |     Focuses:
------------------------------+-----------------------

Comment (by netweb):

 '''Disallow units for zero lengths'''
 Replying to [comment:40 nacin]:
 > Where we should change our CSS to conform to the rules, rather than add
 ignore rules:
 >  * We shouldn't ignore `number-zero-length-no-unit`. Remove the units.
 Replying to [comment:42 helen]:
 > Patch seems to remove them - did I miss something?
 Indeed `Disallow units for zero lengths` is included in the patch using
 the `number-zero-length-no-unit` rule , full definition
 [https://github.com/stylelint/stylelint/blob/master/src/rules/number-zero-
 length-no-unit/README.md here]

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


More information about the wp-trac mailing list