From b23ad0d789a909baf8d7c41a35bc53df932eaf30 Mon Sep 17 00:00:00 2001 From: Damien Cassou Date: Thu, 2 Jan 2020 10:14:30 +0100 Subject: [PATCH] Docs: change a broken link in working-with-rules.md (#12732) --- docs/developer-guide/working-with-rules.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/developer-guide/working-with-rules.md b/docs/developer-guide/working-with-rules.md index deac450b041..608a38be7bc 100644 --- a/docs/developer-guide/working-with-rules.md +++ b/docs/developer-guide/working-with-rules.md @@ -142,7 +142,7 @@ Additionally, the `context` object has the following methods: * `getScope()` - returns the [scope](./scope-manager-interface.md#scope-interface) of the currently-traversed node. This information can be used to track references to variables. * `getSourceCode()` - returns a [`SourceCode`](#contextgetsourcecode) 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/no-unused-vars.md) 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](#contextreport)). +* `report(descriptor)` - reports a problem in the code (see the [dedicated section](#context-report)). **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.