Skip to content

Enhancement(typescript-estree): expose ProjectService logs through plugin #9321

Closed
@higherorderfunctor

Description

@higherorderfunctor

Before You File a Proposal Please Confirm You Have Done The Following...

Relevant Package

typescript-estree

My proposal is suitable for this project

  • I believe my proposal would be useful to the broader TypeScript community (meaning it is not a niche proposal).

Description

I propose we expose ProjectService logs through this plugin using the DEBUG environment variable.

There are 3 log channels and the unused event handler, so I'm thinking something along the lines of below. This would help trace ProjectService behavior and diagnose related issues.

typescript-eslint:typescript-estree:tsserver:err
typescript-eslint:typescript-estree:tsserver:info
typescript-eslint:typescript-estree:tsserver:perf
typescript-eslint:typescript-estree:tsserver:event

Additional Info

Follow up issue from the discussion at #8835 (comment).

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepting prsGo ahead, send a pull request that resolves this issueenhancementNew feature or requestlocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions