[wp-trac] [WordPress Trac] #53874: Bundled Themes: Measurement in 'px' is unnecessary

WordPress Trac noreply at wordpress.org
Wed Aug 4 23:37:45 UTC 2021


#53874: Bundled Themes: Measurement in 'px' is unnecessary
------------------------------+------------------------------------
 Reporter:  ankitmaru         |       Owner:  (none)
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  5.9
Component:  Bundled Theme     |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  css, coding-standards
------------------------------+------------------------------------
Changes (by netweb):

 * keywords:  has-patch => has-patch commit


Comment:

 This looks good, this change is also defined in the WordPress Coding
 Standards

 > https://github.com/WordPress/gutenberg/blob/trunk/packages/stylelint-
 config/index.js#L67

 Via the stylelint rule https://stylelint.io/user-guide/rules/list/length-
 zero-no-unit/

 ... eventually we'll get stylelint linting core, and passing 🤞🏼

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


More information about the wp-trac mailing list