Skip to content

Commit 9a3c73c

Browse files
authored
Docs: fix a broken link (#14790)
1 parent ddffa8a commit 9a3c73c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/developer-guide/nodejs-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ const codeLines = SourceCode.splitLines(code);
462462
The `Linter` object does the actual evaluation of the JavaScript code. It doesn't do any filesystem operations, it simply parses and reports on the code. In particular, the `Linter` object does not process configuration objects or files.
463463
The `Linter` is a constructor, and you can create a new instance by passing in the options you want to use. The available options are:
464464

465-
* `cwd` - Path to a directory that should be considered as the current working directory. It is accessible to rules by calling `context.getCwd()` (see [The Context Object](./working-with-rules.md#The-Context-Object)). If `cwd` is `undefined`, it will be normalized to `process.cwd()` if the global `process` object is defined (for example, in the Node.js runtime) , or `undefined` otherwise.
465+
* `cwd` - Path to a directory that should be considered as the current working directory. It is accessible to rules by calling `context.getCwd()` (see [The Context Object](./working-with-rules.md#the-context-object)). If `cwd` is `undefined`, it will be normalized to `process.cwd()` if the global `process` object is defined (for example, in the Node.js runtime) , or `undefined` otherwise.
466466

467467
For example:
468468

0 commit comments

Comments
 (0)