Scroll to navigation

RECESS(1) Twitter RECESS RECESS(1)

NAME

recess - simple, attractive code quality tool for CSS built on top of LESS.

SYNOPSIS

recess [PATH] [OPTIONS]

DESCRIPTION

Developed at Twitter to support our internal styleguide, RECESS is a simple, attractive code quality tool for CSS built on top of LESS.

Incorporate it into your development process as a linter, or integrate it directly into your build system as a compiler, RECESS will keep your source looking clean and super manageable.

OPTIONS

compiles your code and outputs it to the terminal. Fixes white space and sort order. Can compile css or less.
compress your compiled code.
accepts a path, which specifies a json config object.
removes color from output (useful when logging).
watch filesystem for changes, useful when compiling Less projects.
doesn't complain about using IDs in your stylesheets.
doesn't complain about styling `.js-` prefixed classnames.
doesn't complain about overqualified selectors (ie: `div#foo.bar`).
doesn't complain about using underscores in your class names.
doesn't complain about using the universal `*` selector.
doesn't looking into your property ordering.
doesn't complain if you add units to values of 0.

EXAMPLES

$ recess *.css
$ recess ./bootstrap.css --noIds false
$ recess ./bootstrap.less --compress > ./bootstrap-production.css
$ recess input.less:ouput.css --compile --watch watch/this/dir/for/changes

SEE ALSO

node-less(1)

AUTHOR

RECESS was written by Jacob Thornton <jacob@twitter.com>.

2012-12-30 1.1.0