dsherret / dsherret/ts-morph

Ability to specify a custom formatter

Open
#674 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
6.2k
Forks
238
Avg merge
2m
Merged PRs (30d)
1

Description

Would be useful to be able to specify a custom formatter.

For example, I'd like to format using my new formatter: https://github.com/dsherret/dprint

This could just be a global configuration somewhere. It would be a function injected that is provided a TypeScript AST and file text then returns a new file text.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.