diff --git a/.prettierrc.json b/.prettierrc.json index 4107696..263da8b 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -1,9 +1,18 @@ { -"useTabs": false, -"tabWidth": 2, -"printWidth": 88, -"singleQuote": true, -"trailingComma": "none", -"bracketSpacing": true, -"semi": false + "useTabs": false, + "tabWidth": 2, + "printWidth": 88, + "singleQuote": true, + "trailingComma": "none", + "bracketSpacing": true, + "semi": false, + "plugins": ["prettier-plugin-go-template"], + "overrides": [ + { + "files": ["*.html"], + "options": { + "parser": "go-template" + } + } + ] }