Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

less-lint #4

Open
tomek-he-him opened this issue Jul 27, 2015 · 0 comments
Open

less-lint #4

tomek-he-him opened this issue Jul 27, 2015 · 0 comments

Comments

@tomek-he-him
Copy link
Owner

less-lint

Check LESS files for errors.

Why would I need this?

Sometimes you just need to know if a LESS file compiles – or have a look at the errors.

Sure, you can do it in bash:

for file in *; do
  if [[ $file =~ \.less$ ]]; then
    lessc $file > /dev/null
  fi
done

It’s just more elegant with less-lint:

less-lint *

Usage

SYNOPSIS

Usage:  less-lint [OPTIONS] ...FILE
   or:  less-lint (-h|--help)

OPTIONS

-i REGEX,  --include=REGEX
    Whitelist files matching REGEX (default: /\.less$/).

-h,  --help
    Display this help text (--help) or a short synopsis (-h).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant