Skip to content

Commit

Permalink
docs: update context.languageOptions.parser description (#19084)
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 authored Oct 31, 2024
1 parent dc34f94 commit 151c965
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/extend/custom-rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ The `context` object has the following properties:
* `languageOptions`: (`object`) more details for each property [here](../use/configure/language-options)
* `sourceType`: (`'script' | 'module' | 'commonjs'`) The mode for the current file.
* `ecmaVersion`: (`number`) The ECMA version used to parse the current file.
* `parser`: (`object`|`string`): Either the parser used to parse the current file for flat config or its name for legacy config.
* `parser`: (`object`): The parser used to parse the current file.
* `parserOptions`: (`object`) The parser options configured for this file.
* `globals`: (`object`) The specified globals.
* `parserPath`: (`string`, **Removed** Use `context.languageOptions.parser` instead.) The name of the `parser` from the configuration.
Expand Down

0 comments on commit 151c965

Please sign in to comment.