mirror of
https://github.com/mikefarah/yq.git
synced 2026-06-30 09:11:40 +00:00
Fixing
This commit is contained in:
parent
bc34216afe
commit
034df5c91e
@ -19,8 +19,6 @@ linters:
|
||||
ignore-rules:
|
||||
- color
|
||||
- colors
|
||||
- COLOR
|
||||
- github.com/fatih/color
|
||||
depguard:
|
||||
rules:
|
||||
prevent_unmaintained_packages:
|
||||
|
||||
@ -8,6 +8,7 @@
|
||||
|
||||
❌ **DON'T:**
|
||||
- Git add or commit
|
||||
- Add comments to functions that are self-explanatory
|
||||
|
||||
|
||||
|
||||
|
||||
@ -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{}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user