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

buddypress-trac noreply at wordpress.org
Tue May 3 14:14:34 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:  Future Release
Component:  Tools - Build Process      |     Version:  2.3.0
 Severity:  normal                     |  Resolution:
 Keywords:  needs-patch needs-refresh  |
---------------------------------------+-----------------------------
Description changed by netweb:

Old description:

> 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

New description:

 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#comment:14>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list