[buddypress-trac] [BuddyPress Trac] #7028: Use stylelint to lint SCSS & CSS replacing Ruby gem `scss_lint`

buddypress-trac noreply at wordpress.org
Sun Apr 24 05:14:41 UTC 2016


#7028: Use stylelint to lint SCSS & CSS replacing Ruby gem `scss_lint`
-----------------------------------+---------------------------------------
 Reporter:  netweb                 |      Owner:
     Type:  defect (bug)           |     Status:  new
 Priority:  normal                 |  Milestone:  Awaiting Review
Component:  Tools - Build Process  |    Version:  2.3.0
 Severity:  normal                 |   Keywords:  needs-patch needs-refresh
-----------------------------------+---------------------------------------
 BuddyPress currently uses a Ruby gem `scss_lint`, this has always been
 difficult to maintain and complicates the setup required to contribute to
 BuddyPress. This ticket replaces that Ruby gem with a NodeJS module
 [http://stylelint.io/ stylelint]

 The base configuration [https://github.com/ntwb/stylelint-config-wordpress
 stylelint-config-wordpress] was created to adhere to
 [https://make.wordpress.org/core/handbook/best-practices/coding-
 standards/css/ WordPress' CSS coding standards], this also includes SCSS
 in the same set of coding standards.

 stylelint yes, lowercase_s_dangit is a [https://github.com/postcss/postcss
 PostCSS] plugin for linting CSS, SCSS, Less, SugarSS files

 > ''"Enforce consistent conventions and avoid errors in your stylesheets
 with stylelint, a modern CSS linter. "''

 See also: #bbPress2924 #WP29792

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7028>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list