Skip to content

Commit

Permalink
add dsl import
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Jun 7, 2021
1 parent 646a014 commit 8fbde0d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ require (
github.com/nishanths/predeclared v0.2.1
github.com/pkg/errors v0.9.1
github.com/polyfloyd/go-errorlint v0.0.0-20210510181950-ab96adb96fea
github.com/quasilyte/go-ruleguard/dsl v0.3.7-0.20210606045906-551c02cfe6d8
github.com/ryancurrah/gomodguard v1.2.1
github.com/ryanrolds/sqlclosecheck v0.3.0
github.com/sanposhiho/wastedassign/v2 v2.0.6
Expand Down
2 changes: 2 additions & 0 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pkg/golinters/gocritic.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
"sync"

gocriticlinter "github.com/go-critic/go-critic/framework/linter"
_ "github.com/quasilyte/go-ruleguard/dsl"
"golang.org/x/tools/go/analysis"

"github.com/golangci/golangci-lint/pkg/config"
Expand Down

0 comments on commit 8fbde0d

Please sign in to comment.