I've decided to switch from css to less recently, so I want to setup some listing mechanism via style-lint and postcss-less. And my current config looks like this:
{
"extends": "stylelint-config-standard",
"customSyntax": "postcss-less"
}
However this config does not check variables, something like this:
@projname-global-color-brand-main: #0000000000000000;
passes every checks, while my css-setup (used css-vars + same stylelnt config without "customSyntax") fails here. I can also do something like this:
.my-class {
color: #00000000000; // IT FAILS HERE, AS EXPECTED
}
.my-second-class {
color: @projname-global-color-brand-main; // SKIPPED AGAIN
}
So, the question is why this setup is skipping less variables from being checked?