Skip to content

Provide node API for config conversion logic #729

Closed
@JamesHenry

Description

@JamesHenry

🚀 Feature Request

Existing Behavior

The library can be leveraged via a CLI and interacts directly with disk.

Change Proposal

Provide the option of leveraging (part of) the library in code via a node API which would only focus on the config conversion process.

After discussing this with @JoshuaKGoldberg it seems we essentially want to expose (potentially after some tweaks) the convertLintConfig function:

export const convertLintConfig = async (

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