lesslinter

lesslinter

Usage no npm install needed!

<script type="module">
  import lesslinter from 'https://cdn.skypack.dev/lesslinter';
</script>

README

LessLinter by rtfpessoa

Thin CSSLint wrapper to support LESS.

Fully CSSLint CLI compatible.

  • Same CLI interface
  • Same rules
  • Same formatters
  • Supports .csslintrc

Usage

Usage: lesslinter [options]* [file|dir]*

Global Options
  --help                                   Displays this information.
  --format=<format>                        Indicate which format to use for output.
  --list-rules                             Outputs all of the rules available.
  --quiet                                  Only output when errors are present.
  --errors=<rule[,rule]+>                  Indicate which rules to include as errors.
  --warnings=<rule[,rule]+>                Indicate which rules to include as warnings.
  --ignore=<rule[,rule]+>                  Indicate which rules to ignore completely.
  --exclude-list=<file|dir[,file|dir]+>    Indicate which files/directories to exclude from being linted.
  --version                                Outputs the current version number.

Contribution

All contributions are welcome.

To contribute just send a pull request with your feature,fix,... and it will be reviewed asap.

License

Copyright 2015 Rodrigo Fernandes. Released under the terms of the MIT license.

Thanks

I would like to thank the CSSLint team for creating such a great tool and also jgable for grunt-lesslint which was used as inspiration for this tool.