CSScomb plugin for less.js
JavaScript
Latest commit 6077e41 May 26, 2016 @bassjobsen Merge pull request #3 from wolfy1339/patch-1
Use SPDX license expression as per NPM specs
Permalink
Failed to load latest commit information.
lib fix for issue #1 Feb 1, 2015
.gitignore first commit Jan 29, 2015
LICENSE first commit Jan 29, 2015
README.md Update README.md Feb 8, 2015
package.json Use SPDX license expression as per NPM specs May 26, 2016

README.md

less-plugin-csscomb

CSScomb helps you sort and categorize CSS properties in your code to improve maintenance of your stylesheets.

lessc usage

Install..

npm install -g less-plugin-csscomb

and then on the command line,

lessc file.less --csscomb

You can chose between the following configuration: csscomb (default), zen or yandex. The preceding configuration can be passed as an argument to the plugin:

lessc file.less --csscomb="yandex"

Alternatively use your own custom configuration by providing the path as an argument to the plugin:

lessc file.less --csscomb="config/test.json"

Programmatic usage

var LessPluginCSScomb = require('less-plugin-csscomb'),
    csscombPlugin = new LessPluginCSScomb("zen");
less.render(lessString, { plugins: [csscombPlugin] })
  .then(

Browser usage

Browser usage is not supported at this time.