Skip to content

Commit

Permalink
style: format code with Gofumpt and Prettier
Browse files Browse the repository at this point in the history
This commit fixes the style issues introduced in 3e714ef according to the output
from Gofumpt and Prettier.

Details: #2579
  • Loading branch information
deepsource-autofix[bot] authored Aug 14, 2024
1 parent 3e714ef commit 978c555
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions hack/cspell/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ type Override struct {
}

type CspellConfig struct {
Import []string `json:"import"`
IgnorePaths []string `json:"ignorePaths"`
IgnoreWords []string `json:"ignoreWords,omitempty"`
Import []string `json:"import"`
IgnorePaths []string `json:"ignorePaths"`
IgnoreWords []string `json:"ignoreWords,omitempty"`
Overrides []Override `json:"overrides"`
Patterns []Pattern `json:"patterns,omitempty"`
}
Expand Down Expand Up @@ -281,4 +281,3 @@ func unique(strings []string) []string {
sort.Strings(result) // アルファベット順にソート
return result

Check warning on line 282 in hack/cspell/main.go

View check run for this annotation

Codecov / codecov/patch

hack/cspell/main.go#L281-L282

Added lines #L281 - L282 were not covered by tests
}

0 comments on commit 978c555

Please sign in to comment.