Skip to content

Allow tsconfig files and --typescript to inform --comment #426

Closed
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

🚀 Feature Request

Splitting out followup work from #246: it'd be easier for users to run --comment if it could use tsconfig file inclusions to fill in the list of files to convert.

Existing Behavior

Right now you have to manually pass globs to --comment

Change Proposal

If --comment is provided as true (no globs are passed to it) and a tsconfig.json is available, it should use TypeScript logic to figure out the file inclusion list from there.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions