Skip to:
Content

BuddyPress.org

Changeset 11546 for trunk/package.json


Ignore:
Timestamp:
05/01/2017 09:24:53 AM (4 years ago)
Author:
netweb
Message:

Build/Test Tools: Add stylelint for CSS & SCSS linting.

This changeset is the first pass at adding stylelint. A new Grunt task grunt stylelint is now available and this will lint CSS & SCSS files against WordPress' CSS Coding Standards. Follow up commits will update BuddyPress' CSS & SCSS files to adhere to these coding standards. Following the CSS & SCSS updates the Ruby scss-lint gem will be removed.

Props netweb.
See 7028.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package.json

    r11446 r11546  
    2323    "grunt-sass": "~1.2.1",
    2424    "grunt-scss-lint": "~0.5.0",
     25    "grunt-stylelint": "^0.8.0",
    2526    "grunt-wp-i18n": "~0.5.4",
    26     "matchdep": "~1.0.1"
     27    "matchdep": "~1.0.1",
     28    "postcss-scss": "^0.4.1",
     29    "stylelint": "^7.10.1",
     30    "stylelint-config-wordpress": "^10.0.2"
    2731  },
    2832  "engines": {
Note: See TracChangeset for help on using the changeset viewer.