Skip to content

Commit 9ac55c4

Browse files
committed
autocomplete-valid: Add inline comment
1 parent 44c6098 commit 9ac55c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rules/autocomplete-valid.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ module.exports = {
4949
if (violations.length === 0) {
5050
return;
5151
}
52+
// Since we only test one rule, with one node, return the message from first (and only) instance of each
5253
context.report({
5354
node,
5455
message: violations[0].nodes[0].all[0].message,

0 commit comments

Comments
 (0)