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 27f7716 according to the output
from Gofumpt and Prettier.

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

type CspellConfig struct {
Import []string `json:"import"`
IgnorePaths []string `json:"ignorePaths"`
IgnoreWords []string `json:"ignoreWords,omitempty"`
IgnoreRegExpList []string `json:"ignoreRegExpList,omitempty"`
Overrides []Override `json:"overrides"`
Import []string `json:"import"`
IgnorePaths []string `json:"ignorePaths"`
IgnoreWords []string `json:"ignoreWords,omitempty"`
IgnoreRegExpList []string `json:"ignoreRegExpList,omitempty"`
Overrides []Override `json:"overrides"`
}

func main() {
Expand Down Expand Up @@ -108,8 +108,8 @@ func main() {

file, err := os.Open(cspellOutputFile)
if err != nil {
fmt.Printf("Error opening cspell output file: %v\n", err)
os.Exit(1)
fmt.Printf("Error opening cspell output file: %v\n", err)
os.Exit(1)
}
defer file.Close()

Expand Down

0 comments on commit 76bef3f

Please sign in to comment.