Skip to content

Commit

Permalink
chore: fix lints
Browse files Browse the repository at this point in the history
Signed-off-by: cpanato <ctadeu@gmail.com>
  • Loading branch information
cpanato committed Jul 3, 2024
1 parent 246adbc commit 49ddda8
Showing 3 changed files with 2 additions and 7 deletions.
5 changes: 1 addition & 4 deletions .golangci.yaml
Original file line number Diff line number Diff line change
@@ -10,15 +10,12 @@ linters-settings:
statements: 50

gci:
no-inline-comments: false
no-prefix-comments: true
skip-generated: true
sections:
- standard
- default
- prefix(github.com/protobom/sbom-convert)

section-separators:
- newLine
goimports:
local-prefixes: github.com/protobom/sbom-convert
goconst:
3 changes: 1 addition & 2 deletions pkg/convert/convert_test.go
Original file line number Diff line number Diff line change
@@ -11,12 +11,11 @@ import (

"github.com/google/go-cmp/cmp"
"github.com/google/go-cmp/cmp/cmpopts"
"go.uber.org/mock/gomock"

"github.com/protobom/protobom/pkg/formats"
"github.com/protobom/protobom/pkg/reader"
"github.com/protobom/protobom/pkg/sbom"
"github.com/protobom/protobom/pkg/writer"
"go.uber.org/mock/gomock"

"github.com/protobom/sbom-convert/pkg/convert"
"github.com/protobom/sbom-convert/pkg/convert/mocks"
1 change: 0 additions & 1 deletion pkg/format/main_test.go
Original file line number Diff line number Diff line change
@@ -5,7 +5,6 @@ import (
"testing"

"github.com/google/go-cmp/cmp"

"github.com/protobom/protobom/pkg/formats"

"github.com/protobom/sbom-convert/pkg/format"

0 comments on commit 49ddda8

Please sign in to comment.