Lint CSS and LESS with RECESS

npm install gulp-recess
33 downloads in the last day
257 downloads in the last week
945 downloads in the last month

gulp-recess Build Status

Lint CSS and LESS with RECESS

Issues with the output should be reported on the RECESS issue tracker.


$ npm install --save-dev gulp-recess


var gulp = require('gulp');
var recess = require('gulp-recess');
var less = require('gulp-less');

gulp.task('default', function () {


The compress and compile options from RECESS are intentionally missing. Separate tasks like gulp-csso and gulp-less will do a much better job.


// default options
includePath: []                // Additional paths to look for `@import`'ed LESS files.
strictPropertyOrder: true    // Complains if not strict property order
noIDs: true                    // Doesn't complain about using IDs in your stylesheets
noJSPrefix: true            // Doesn't complain about styling .js- prefixed classnames
noOverqualifying: true        // Doesn't complain about overqualified selectors (ie:
noUnderscores: true            // Doesn't complain about using underscores in your class names
noUniversalSelectors: true    // Doesn't complain about using the universal * selector
zeroUnits: true                // Doesn't complain if you add units to values of 0


MIT © Sindre Sorhus

npm loves you