Skip to content

Commit

Permalink
Update README.md (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
leventkantaroglu authored Oct 2, 2024
1 parent 15d6fb2 commit dcce163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ To create a custom lint, you will need two things:

// This line tells custom_lint to render a warning at the location of "node".
// And the warning shown will use our `code` variable defined above as description.
reporter.reportErrorForNode(code, node);
reporter.atNode(node, code);
});
}
}
Expand Down

0 comments on commit dcce163

Please sign in to comment.