Skip to content

Expose APIs for Node scripts #8

Open

Description

@aervin

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?

Activity

  1. stringham commented on Jun 12, 2018

    @stringham
    Owner

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

  2. aervin commented on Jun 13, 2018

    @aervin
    Author

    @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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions