Skip to content

Add opt-in flag to convert tslint:disable comments to eslint-disable #136

Closed
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

🚀 Feature Request

Per a comment in https://github.com/sourcegraph/sourcegraph/pull/5072 - it'd be swell to automate that process as well. tslint-to-eslint-config already has data from rule mergers, so when the config is generated, mapping through tslint-disable comments can use the same information generated by them.

Existing Behavior

Nothing happens.

Change Proposal

Add an optional CLI flag that takes in a glob or globs of source files to convert, and changes tslint:disable-next-line: no-floating-promises to the equivalent eslint-disable-next-line: @typescript-eslint/no-floating-promises lines.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions