We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Check LESS files for errors.
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
less-lint *
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).
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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:
It’s just more elegant with
less-lint
:less-lint *
Usage
SYNOPSIS
OPTIONS
The text was updated successfully, but these errors were encountered: