prettier-plugin-go-template

v0.0.15
Prettier plugin for formatting Go & GoHugo templates.
prettier plugin go hugo gohugo template html

lint

tslint --project .

test

NODE_OPTIONS=--experimental-vm-modules jest

coverage

NODE_OPTIONS=--experimental-vm-modules jest --coverage --no-cache

publish:coverage

codecov -t $npm_config_prettier_plugin_go_html_codecov

release:coverage

npm run coverage && npm run publish:coverage

build

tsc --pretty

watch

npm run build -- --watch

watch:test

NODE_OPTIONS=--experimental-vm-modules jest --watch

release:plugin

npm run build && npm run release:coverage && npm publish

release:plugin:local

npm run build && npm run release:coverage && npm publish --registry=http://localhost:4873/
npm i prettier-plugin-go-template

Metadata

  • MIT
  • >=14.0.0
  • Niklas Portmann
  • released 7/20/2023

Downloads

Maintainers