Changeset 11546
- Timestamp:
- 05/01/2017 09:24:53 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Gruntfile.js
r11038 r11546 20 20 BP_EXCLUDED_MISC = [ 21 21 '!bp-forums/bbpress/**/*' 22 ]; 22 ], 23 24 stylelintConfigCss = require('stylelint-config-wordpress/index.js'), 25 stylelintConfigScss = require('stylelint-config-wordpress/scss.js'); 23 26 24 27 require( 'matchdep' ).filterDev( ['grunt-*', '!grunt-legacy-util'] ).forEach( grunt.loadNpmTasks ); … … 202 205 core: [ SOURCE_DIR + 'bp-templates/bp-legacy/css/*.scss' ] 203 206 }, 207 stylelint: { 208 css: { 209 options: { 210 config: stylelintConfigCss, 211 format: 'css' 212 }, 213 expand: true, 214 cwd: SOURCE_DIR, 215 src: BP_CSS.concat( BP_EXCLUDED_CSS, BP_EXCLUDED_MISC ) 216 }, 217 scss: { 218 options: { 219 config: stylelintConfigScss, 220 format: 'scss' 221 }, 222 expand: true, 223 cwd: SOURCE_DIR, 224 src: [ 'bp-templates/bp-legacy/css/*.scss' ] 225 } 226 }, 204 227 cssmin: { 205 228 minify: { -
trunk/package.json
r11446 r11546 23 23 "grunt-sass": "~1.2.1", 24 24 "grunt-scss-lint": "~0.5.0", 25 "grunt-stylelint": "^0.8.0", 25 26 "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" 27 31 }, 28 32 "engines": {
Note: See TracChangeset
for help on using the changeset viewer.