[buddypress-trac] [BuddyPress Trac] #6351: Add Grunt task to llint SCSS files

buddypress-trac noreply at wordpress.org
Sun Apr 5 02:48:17 UTC 2015

#6351: Add Grunt task to llint SCSS files
 Reporter:  netweb                 |       Owner:
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  2.3
Component:  Tools - Build Process  |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  needs-patch            |

Comment (by netweb):

 In `6351-initial.2.diff​`:

 * Adds a new Grunt task `grunt scsslint` to lint `.scss` files in `src/bp-
 * Requires `npm install` to update Node package dependancies
 * Adds the `scsslint` task to BP default `src` task to validate files
 before commit

 This initial patch uses the default SCSS-Lint rules per:
 * https://github.com/brigade/scss-lint/blob/master/config/default.yml

 This results in ~248 errors (For example see
 https://gist.github.com/ntwb/34868c3aac20af68480f )

 I'll start updating the SCSS-Lint config now to match WordPress CSS Coding
 standards as much as possible

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6351#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list