Include css rule name with lint results
This is similar to returning "raw" from JSHint, as it helps to identify the rule being applied.
This commit is contained in:
parent
d1738b0eb2
commit
9f8ed0db31
1 changed files with 2 additions and 1 deletions
|
|
@ -84,7 +84,8 @@ oop.inherits(Worker, Mirror);
|
|||
row: msg.line - 1,
|
||||
column: msg.col - 1,
|
||||
text: msg.message,
|
||||
type: infoRules[msg.rule.id] ? "info" : msg.type
|
||||
type: infoRules[msg.rule.id] ? "info" : msg.type,
|
||||
rule: msg.rule.name
|
||||
}
|
||||
}));
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue