Skip to content

Commit

Permalink
fix: cleanup go config
Browse files Browse the repository at this point in the history
  • Loading branch information
Justintime50 committed Aug 14, 2024
1 parent c94bf40 commit 544b861
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ lint-csharp:

## lint-go - Lint Go files
lint-go:
$(GO_BIN)/golangci-lint run --config .golangci.yml
$(GO_BIN)/golangci-lint run

## lint-java - lints Java files
lint-java:
Expand Down Expand Up @@ -125,7 +125,7 @@ format-csharp:

## format-go - formats Go files
format-go:
golangci-lint run --fix
$(GO_BIN)/golangci-lint run --fix

## format-java - formats Java files
format-java:
Expand Down
3 changes: 1 addition & 2 deletions style_guides/golang/.golangci.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
issues:
exclude:
- "other declaration of main"
- "`main` redeclared in this block"
- "main redeclared in this block"
- "redeclared in this block"
- "`main` is unused"
- "github.com/EasyPost/easypost-go"
- "undeclared name: `easypost`"
Expand Down

0 comments on commit 544b861

Please sign in to comment.