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

+1
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

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/golinters/gocritic.go

+1
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)