Content-Length: 293327 | pFad | https://github.com/typescript-eslint/typescript-eslint/issues/10507

D1 Enhancement: Include `projectService: true` in type-checked configs · Issue #10507 · typescript-eslint/typescript-eslint · GitHub
Skip to content

Enhancement: Include projectService: true in type-checked configs #10507

@kirkwaiblinger

Description

@kirkwaiblinger

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

Relevant Package

typescript-eslint

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 that a config should be created identical to recommendedTypeChecked (as well as for its *TypeChecked friends) but with projectService: true specified. That way, just as tseslint.configs.recommended enables TS language support in tseslint.configs.recommended[0], the proposed config would enable TS language support with typed linting support that more-or-less works out of the box for Most™️ projects. I think this could significantly reduce the burden on users for setting up typed linting.

I think it would be breaking to modify the existing configs, so we'd have to come up with a name for the projectService: true variant. Maybe tseslint.configs.recommendedPreconfiguredTypeChecked? Idk what a good name would be 🤷‍♂️

Additional Info

Refs:

Metadata

Metadata

Assignees

No one assigned

    Labels

    blocked by external APIBlocked by a tool we depend on exposing an API, such as TypeScript's Type Relationship APIenhancementNew feature or requestpreset config changeProposal for an addition, removal, or general change to a preset config

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/typescript-eslint/typescript-eslint/issues/10507

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy