Open
Description
Before You File a Documentation Request Please Confirm You Have Done The Following...
- I have looked for existing open or closed documentation requests that match my proposal.
- I have read the FAQ and my problem is not listed.
Suggested Changes
Coming over from eslint/eslint#19563 (comment) -> #11012: sourceType
is an optional property for the parser's parserOptions:
It's not mentioned anywhere on https://typescript-eslint.io/packages/parser. The page's https://typescript-eslint.io/packages/parser#configuration docs mention:
...which seems to imply these options are a superset of ESLint core's in https://eslint.org/docs/latest/use/configure/language-options#specifying-parser-options, maybe? But I don't think that's extremely clear. I think it'd be good to explicitly mention at least sourceType
in the docs.
Affected URL(s)
https://typescript-eslint.io/packages/parser
Additional Info
Question: are there other properties end users / rule testers might need?
💖
Metadata
Metadata
Assignees
Labels
Documentation ("docs") that needs adding/updatingDocumentation ("docs") that needs adding/updatingA member of the typescript-eslint team should work on this.A member of the typescript-eslint team should work on this.