Skip to content

Commit f9790ca

Browse files
dimitropoulosplatinumazure
authored andcommitted
Fix: typo: missing word in docs (#11750)
1 parent 219aecb commit f9790ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/developer-guide/working-with-rules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ Additionally, the `context` object has the following methods:
137137
* If the node is an `ImportSpecifier`, `ImportDefaultSpecifier`, or `ImportNamespaceSpecifier`, the declared variable is returned.
138138
* Otherwise, if the node does not declare any variables, an empty array is returned.
139139
* `getFilename()` - returns the filename associated with the source.
140-
* `getScope()` - returns the [scope](./scope-manager-interface.md#scope-interface) of the currently-traversed node. This information can be used track references to variables.
140+
* `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.
141141
* `getSourceCode()` - returns a [`SourceCode`](#contextgetsourcecode) object that you can use to work with the source that was passed to ESLint.
142142
* `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`.
143143
* `report(descriptor)` - reports a problem in the code (see the [dedicated section](#contextreport)).

0 commit comments

Comments
 (0)