Skip to content

Commit

Permalink
autocomplete-valid: Add inline comment
Browse files Browse the repository at this point in the history
  • Loading branch information
WilcoFiers committed Nov 6, 2019
1 parent 44c6098 commit 9ac55c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rules/autocomplete-valid.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ module.exports = {
if (violations.length === 0) {
return;
}
// Since we only test one rule, with one node, return the message from first (and only) instance of each
context.report({
node,
message: violations[0].nodes[0].all[0].message,
Expand Down

0 comments on commit 9ac55c4

Please sign in to comment.