• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

linter-less

Lint `less` on the fly, using less
josa42
46,856
159
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

linter-less

Build Status Plugin installs! Package version! Dependencies!

This linter plugin for Linter provides an interface to less.

Configuration

  • Ignore undefined global variables: Ignore variables marked as global e.g. // global: @fontSize
  • Ignore undefined variables
  • IE Compatibility Checks
  • Strict Math: Turn on or off strict math, where in strict mode, math requires brackets.
  • Strict Units: Allow mixed units, e.g. 1px+1em or 1px*1px which have units that cannot be represented.
  • Ignore .lessrc configutation file

See also: lesscss.org.

Configuration File (.lessrc)

{
  "paths": [],
  "ieCompat": true,
  "strictUnits": false
}

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by