Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose APIs for Node scripts #8

Open
aervin opened this issue Jun 10, 2018 · 2 comments
Open

Expose APIs for Node scripts #8

aervin opened this issue Jun 10, 2018 · 2 comments

Comments

@aervin
Copy link

aervin commented Jun 10, 2018

Love this extension, use it on a daily basis. Thanks for the great work!

I would love the ability to run all of a project's HTML templates through the formatter during precommit, like it's possible to do w/ Prettier and JS/TS files. The deterministic template diffs would be a big win IMO. Is this already possible?

@stringham
Copy link
Owner

There is a cliformat.ts file in the src directory, I use this to automate formatting my angular templates with my build system.

@aervin
Copy link
Author

aervin commented Jun 13, 2018

@stringham Is it possible to leverage cliformat.ts as an ordinary npm package? I guess that's what I'm after.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants