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:
Adam Jimenez 2013-08-03 14:40:11 +01:00
commit 9f8ed0db31

View file

@ -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
}
}));
};