Provide `parserServices` when using `@typescript-eslint/parser`
- Dominant language
- JavaScript
- Stars
- 6.5k
- Forks
- 772
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
A clear and concise description of what the bug is.
When I am trying to use the `parserServices` to make a typed rule in typescript eslint, the `parserServices` is undefined
**To Reproduce**
Steps to reproduce the behavior:
1. Go to the ast explorer
2. Select the parser as typescript eslint
3. Try to access parser services
4. Notice it is not filled
**Expected behavior**
A clear and concise description of what you expected to happen.
parserServices are provided
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Browser (please complete the following information):**
- OS: Ubuntu 20
- Browser chrome
- Version [e.g. 22]
**astexplorer settings:**
- Selected parser: typescript eslint
- Selected transformer (if applicable): typescript eslint
- Contents of the local storage key `explorerSettingsV1` (code can be removed if you don't want it to be public)
**Additional context**
Add any other context about the problem here.
The problem is related to setting parseroptions.object, as seen here
https://github.com/typescript-eslint/typescript-eslint/blob/830b9463fc80ee3deba435f273e73fa6339564e7/packages/utils/src/eslint-utils/getParserServices.ts#L5
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.