Skip to content

Commit

Permalink
Merge pull request #39 from gotd/dependabot/github_actions/golangci/g…
Browse files Browse the repository at this point in the history
…olangci-lint-action-4.0.0

build(deps): bump golangci/golangci-lint-action from 3.7.0 to 4.0.0
  • Loading branch information
ernado authored Feb 12, 2024
2 parents 1ae7392 + dc1c50d commit d69e462
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 26 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/pr-extra.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: lint
uses: golangci/golangci-lint-action@v3.7.0
uses: golangci/golangci-lint-action@v4.0.0
with:
version: latest

Expand Down
5 changes: 0 additions & 5 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ linters-settings:
linters:
disable-all: true
enable:
- deadcode
- dogsled
- dupl
- errcheck
Expand All @@ -45,23 +44,19 @@ linters:
- gocyclo
- gofmt
- goimports
- golint
- gosec
- gosimple
- govet
- ineffassign
- lll
- misspell
- nakedret
- scopelint
- staticcheck
- structcheck
- stylecheck
- typecheck
- unconvert
- unparam
- unused
- varcheck
- whitespace
- gochecknoglobals
- gocognit
Expand Down
2 changes: 1 addition & 1 deletion type.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func (p *Type) Parse(s string) error {
}

// Bare types starts from lowercase.
if len(p.Name) > 0 && !p.Percent {
if p.Name != "" && !p.Percent {
p.Bare = p.Name[0:1] == strings.ToLower(p.Name[0:1])
}
return nil
Expand Down

0 comments on commit d69e462

Please sign in to comment.