Skip to content

Also export comment converter Node APIs #820

Closed
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

🚀 Feature Request

Following #732 to add a Node API, the next step for angular-eslint/angular-eslint#173 will be to also convert inline tslint:disable comments for users.

Existing Behavior

The convertFileComments method is not exported as a standalone function via the Node API.

Change Proposal

Let's export it!

More specifically: let's export an equivalent to it that takes in a file's content and path, and returns the new equivalent.

Metadata

Metadata

Labels

area: node APIUsing tslint-to-eslint-config as an npm dependencystatus: accepting prsPlease, send in a PR to resolve this! ✨type: enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions