Skip to content

Commit 8fbde0d

Browse files
committed
add dsl import
1 parent 646a014 commit 8fbde0d

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

go.mod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ require (
5858
github.com/nishanths/predeclared v0.2.1
5959
github.com/pkg/errors v0.9.1
6060
github.com/polyfloyd/go-errorlint v0.0.0-20210510181950-ab96adb96fea
61+
github.com/quasilyte/go-ruleguard/dsl v0.3.7-0.20210606045906-551c02cfe6d8
6162
github.com/ryancurrah/gomodguard v1.2.1
6263
github.com/ryanrolds/sqlclosecheck v0.3.0
6364
github.com/sanposhiho/wastedassign/v2 v2.0.6

go.sum

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/golinters/gocritic.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import (
1111
"sync"
1212

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

1617
"github.com/golangci/golangci-lint/pkg/config"

0 commit comments

Comments
 (0)