Skip to content

Commit

Permalink
linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinJoiner committed May 30, 2024
1 parent bdb4b15 commit 3f2f290
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,10 @@ issues:
- path: convert-funcs_test\.go
linters:
- dupl
# Exclude some linters from running on tests files.
- path: _test\.go
linters:
- funlen
- errcheck
- dupl
- gosec
1 change: 1 addition & 0 deletions pkg/schema/validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ var (
privileges = []string{"VEHICLE_NON_LOCATION_DATA", "VEHICLE_COMMANDS", "VEHICLE_CURRENT_LOCATION", "VEHICLE_ALL_TIME_LOCATION", "VEHICLE_VIN_CREDENTIAL"}
)

// ErrInvalid is an error for invalid definitions.
type ErrInvalid struct {
Property string
Name string
Expand Down

0 comments on commit 3f2f290

Please sign in to comment.