Skip to content

Commit

Permalink
docs: resubmit pr17107 doc changes
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 authored and aladdin-add committed Jun 15, 2023
1 parent 9063706 commit c9ad0dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/extend/custom-rules.md
Expand Up @@ -518,7 +518,7 @@ module.exports = {
};
```

**Deprecated:** The `context.getScope()` method is deprecated; make sure to use `context.sourceCode` property instead.
**Deprecated:** The `context.getSourceCode()` method is deprecated; make sure to use `context.sourceCode` property instead.

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

Expand Down

0 comments on commit c9ad0dc

Please sign in to comment.