Skip to content
Browse files
Docs: Fix a broken link in (#13875)
  • Loading branch information
AntonNiklasson committed Nov 24, 2020
1 parent 0cb81a9 commit 110cf962d05625a8a1bf7b5f4ec2194db150eb32
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/developer-guide/
@@ -142,7 +142,7 @@ Additionally, the `context` object has the following methods:
* `getScope()` - returns the [scope](./ of the currently-traversed node. This information can be used to track references to variables.
* `getSourceCode()` - returns a [`SourceCode`](#context-getsourcecode) object that you can use to work with the source that was passed to ESLint.
* `markVariableAsUsed(name)` - marks a variable with the given name in the current scope as used. This affects the [no-unused-vars](../rules/ rule. Returns `true` if a variable with the given name was found and marked as used, otherwise `false`.
* `report(descriptor)` - reports a problem in the code (see the [dedicated section](#context-report)).
* `report(descriptor)` - reports a problem in the code (see the [dedicated section](#contextreport)).

**Note:** Earlier versions of ESLint supported additional methods on the `context` object. Those methods were removed in the new format and should not be relied upon.

0 comments on commit 110cf96

Please sign in to comment.