I new to linting in scss file, I have a angular project with following scss file
p {
margin-left: 10px;
margin-top: 9px;
}
::ng-deep .expandButton {
margin: 10px;
color: teal;
border: none;
background: transparent;
}
a.mat-list-item.ng-tns-c1-0.active {
background : #eff0f1;
font-weight: bold;
color: black;
border-right: 3px solid teal;
}
and a .yml file for lint rules,
rules:
declaration-no-important: null
scss/at-rule-no-unknown: null
while building the code or executing the following command stylelint **.scss
, I'm getting the following errors,
1:1 × Unknown rule at-rule-disallowed-list at-rule-disallowed-list
1:1 × Unknown rule declaration-property-value-disallowed-list declaration-property-value-disallowed-list
How to fix/suppress this warning, the build passes, there are no errors, but these two lines, keep on occurring for all the scss files.
at-rule-disallowed-list
looks for anArray
and thedeclaration-property-value-disallowed-list
takes anObject
. – Tegument