Skip to content

Commit dcce163

Browse files
Update README.md (#274)
1 parent 15d6fb2 commit dcce163

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ To create a custom lint, you will need two things:
133133

134134
// This line tells custom_lint to render a warning at the location of "node".
135135
// And the warning shown will use our `code` variable defined above as description.
136-
reporter.reportErrorForNode(code, node);
136+
reporter.atNode(node, code);
137137
});
138138
}
139139
}

0 commit comments

Comments
 (0)