This package provides the following services:
linter-less
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+1emor1px*1pxwhich have units that cannot be represented. - Ignore .lessrc configutation file
See also: lesscss.org.
Configuration File (.lessrc)
{
"paths": [],
"ieCompat": true,
"strictUnits": false
}