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

Details: #2579
  • Loading branch information
deepsource-autofix[bot] authored Aug 14, 2024
1 parent 3722873 commit 349a115
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 349a115

Please sign in to comment.