Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Enhancement: export types in typescript-eslint package #10848

Open
@Mister-Hope

Description

@Mister-Hope

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 believe there are a lot of people making there own wrapper after eslint itself as support flat config.

In this way we are likely to need the access of TSLint types from @typescript-eslint/utils. It is imported in typescript-eslint package, but not exported.

Exporting this types can benefit users, so that they no longer need to declare an extra package (AKA @typescript-eslint/utils) .

E.g.:

https://github.com/Mister-Hope/eslint-config-mister-hope/blob/497fba4a0af43a53ccc78c36899090f4d670d5c4/src/ts.ts#L9

code example

Additional Info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepting prsGo ahead, send a pull request that resolves this issueenhancementNew feature or requestpackage: typescript-eslintIssues related to the typescript-eslint package

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions