Skip to content

Commit

Permalink
Support multiple errors for several properties in one block
Browse files Browse the repository at this point in the history
  • Loading branch information
doing-art committed Nov 1, 2021
1 parent f42f492 commit 584c8c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Expand Up @@ -51,7 +51,10 @@ testRule({
},
{
code: 'a { color: red; margin-top: 0px; }',
message: messages.rejected('color', 'a'),
warnings: [
{ message: messages.rejected('color', 'a'), line: 1, column: 5 },
{ message: messages.rejected('margin-top', 'a'), line: 1, column: 17 },
],
line: 1,
column: 5,
},
Expand Down
2 changes: 0 additions & 2 deletions lib/rules/rule-selector-property-disallowed-list/index.js
Expand Up @@ -53,8 +53,6 @@ const rule = (primary) => {
result,
ruleName,
});

break;
}
}
});
Expand Down

0 comments on commit 584c8c7

Please sign in to comment.