Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
docs: fix typo in working-with-rules.md (#15233)
  • Loading branch information
snitin315 committed Oct 30, 2021
1 parent 4e9c6ed commit 12b627d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/developer-guide/working-with-rules.md
Expand Up @@ -531,7 +531,7 @@ module.exports = {
};
```

Once you have an instance of `SourceCode`, you can use the methods on it to work with the code:
Once you have an instance of `SourceCode`, you can use the following methods on it to work with the code:

* `getText(node)` - returns the source code for the given node. Omit `node` to get the whole source.
* `getAllComments()` - returns an array of all comments in the source.
Expand Down

0 comments on commit 12b627d

Please sign in to comment.