[wp-trac] [WordPress Trac] #26905: Follow CSS coding standards for SASS/SCSS files

WordPress Trac noreply at wordpress.org
Fri Apr 7 03:17:12 UTC 2017


#26905: Follow CSS coding standards for SASS/SCSS files
------------------------------+-----------------------------
 Reporter:  morganestes       |       Owner:  netweb
     Type:  defect (bug)      |      Status:  assigned
 Priority:  normal            |   Milestone:  Future Release
Component:  Build/Test Tools  |     Version:  3.8
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:  ui
------------------------------+-----------------------------

Comment (by netweb):

 Replying to [comment:12 fatmedia]:
 > FWIW, scss-lint seems to be going away: https://github.com/brigade/scss-
 lint#notice-consider-other-tools-before-adopting-scss-lint
 >
 > I've been using this config in my own projects for a while and ran it
 through an [https://sasstools.github.io/make-sass-lint-config/ automated
 tool] to convert it to sass-lint. The result isn't perfect, but it's close
 enough for my purposes.
 >
 > You all may prefer to use a different linter, but I figured I'd leave a
 heads-up either way.

 Thanks @fatmedia, there is a stylelint config for WordPress, SCSS support
 is not complete, primarily because WordPress hasn't defined any official
 SCSS Coding Standards, for the most part it follows the CSS standards.

 Anyway here it is and later today I'll be releasing an update of the
 config https://www.npmjs.com/package/stylelint-config-wordpress

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


More information about the wp-trac mailing list