Gulp plugin for CSScomb, a CSS coding style formatter that automatically sorts and formats CSS properties according to a configurable style guide. Version 3.1.0 (latest) runs on Node >= 0.9.0. It integrates CSScomb into Gulp build pipelines, supporting custom config files (.csscomb.json) and predefined presets like 'zen'. Differentiated by being a direct wrapper around the standalone CSScomb.js library, it is lightweight and has no external dependencies beyond CSScomb itself. However, the project has been in maintenance mode since 2018, with CSScomb.js itself deprecated in favor of stylelint.
npm install gulp-csscombNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to use gulp-csscomb with a predefined preset ('zen') to format CSS files in a Gulp task.
Migrate to stylelint with stylelint-config-standard or similar.
If on Node >=14 and using ESM, update to v4; otherwise stay on v3 and pin to 3.1.0.
Ensure no .csscomb.json exists if you intend to use a preset, or rename/remove it.
Run 'npm install gulp-csscomb --save-dev'.
Use 'const csscomb = require('gulp-csscomb');' (CommonJS) or 'import csscomb from 'gulp-csscomb';' (ESM) correctly.Pass either a string (preset name) or an options object (e.g., csscomb({...})).