Awesome
linter-less
This plugin for Linter provides an interface to less.
Note: the repository is not maintained. If you would like to take over, please open an issue!
Configuration
- Ignore undefined global variables: Ignore variables marked as global e.g.
// global: @fontSize
- Ignore undefined variables
- Ignore undefined mixins
- IE Compatibility Checks
- Strict Math: Turn on or off strict math, where in strict mode, math requires brackets.
- Strict Units: Disallow mixed units, e.g.
1px+1em
or1px*1px
which have units that cannot be represented. - Ignore .lessrc configutation file
See also: lesscss.org.
Configuration File (.lessrc
)
{
"paths": [],
"ieCompat": true,
"strictUnits": false
}