You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently custom sass-lint configurations will be ignored when a custom configuration has merge-default-rules set to false. The only way to actually override the defaults is to set merge to true and provide every rule with a 0.
I'm guessing the reason we haven't picked up on it for so long is that our config file matches the default config file or was set to merge and contained every rule we didn't want to use zeroed out.
Currently custom sass-lint configurations will be ignored when a custom configuration has
merge-default-rules
set to false. The only way to actually override the defaults is to set merge to true and provide every rule with a 0.This was brought to light here DanPurdy/linter-sass-lint#9
I'm guessing the reason we haven't picked up on it for so long is that our config file matches the default config file or was set to merge and contained every rule we didn't want to use zeroed out.
To try this out use the config @mik01aj posted
then try this
on this file
Looks like an error in checking for configMerge here https://github.com/sasstools/sass-lint/blob/develop/lib/config.js#L77
The text was updated successfully, but these errors were encountered: