This commit is contained in:
Mike Farah
2025-12-20 18:58:17 +11:00
parent bc34216afe
commit 034df5c91e
3 changed files with 1 additions and 3 deletions
-2
View File
@@ -19,8 +19,6 @@ linters:
ignore-rules:
- color
- colors
- COLOR
- github.com/fatih/color
depguard:
rules:
prevent_unmaintained_packages:
+1
View File
@@ -8,6 +8,7 @@
**DON'T:**
- Git add or commit
- Add comments to functions that are self-explanatory
-1
View File
@@ -173,7 +173,6 @@ func (he *hclEncoder) injectComments(output []byte, commentMap map[string]string
return []byte(result)
}
// colorizeHcl applies syntax highlighting to HCL output using fatih/color //nolint:misspell
func (he *hclEncoder) colorizeHcl(input []byte) []byte {
hcl := string(input)
result := strings.Builder{}