Stylelint Config - LESS
Table of Contents
⚠️ The LessCSS feature has been dropped since version 4 of the
Use the CSS version or use any version before this version.
There no specific rules set for LESS, since we don't use with LESS anymore.
If you find any rules that conflict with your LESS code, please share those with us, so we can add/fix this in our rules.
For all that, there are some rules set here, they unset some rules that conflict with the LESS code.
Same as for the main stylelint config, but now add less to the end to also load these rules.
List of Rules
- ignoreAtRules: plugin
- severity: warning
- media-feature-name-no-unknown: null
- Error for LESS variables
General / Sheet
- Error for rulesets
- Give a little more space to use LESS mixin's
- Allows the use of LESS Maps
Noticed a typo or is something unclear? Help us improve this page on GitHub.