NiklasPor / prettier-plugin-go-template

Fixes prettier formatting for go templates 🐹
prettier-plugin-go-template-niklaspor.vercel.app
MIT License
343 stars 24 forks source link

Add missing comma in GoHugo example #106

Closed v-ji closed 1 year ago

v-ji commented 1 year ago

Just a quick fix: The GoHugo/html example is missing a comma, which results in the following error:

[error] Invalid configuration for file "[…]/index.html":
[error] YAML Error in […]/.prettierrc:
[error] missed comma between flow collection entries (3:3)
[error]
[error]  1 | {
[error]  2 |   "plugins": ["prettier-plugin-go- ...
[error]  3 |   "overrides": [
[error] -------^
[error]  4 |     {
[error]  5 |       "files": ["*.html"],
NiklasPor commented 1 year ago

Good catch! Thanks ❤️