dev: enable gocheckcompilerdirectives linter (#4114)
This commit is contained in:
parent
e641317eb3
commit
be034aa9af
@ -84,6 +84,7 @@ linters:
|
|||||||
- errcheck
|
- errcheck
|
||||||
- exportloopref
|
- exportloopref
|
||||||
- funlen
|
- funlen
|
||||||
|
- gocheckcompilerdirectives
|
||||||
- gochecknoinits
|
- gochecknoinits
|
||||||
- goconst
|
- goconst
|
||||||
- gocritic
|
- gocritic
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
//go:build ruleguard
|
//go:build ruleguard
|
||||||
|
|
||||||
package ruleguard
|
package ruleguard
|
||||||
|
|
||||||
import "github.com/quasilyte/go-ruleguard/dsl"
|
import "github.com/quasilyte/go-ruleguard/dsl"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
//go:build ruleguard
|
//go:build ruleguard
|
||||||
|
|
||||||
package ruleguard
|
package ruleguard
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
//go:build ruleguard
|
//go:build ruleguard
|
||||||
|
|
||||||
package ruleguard
|
package ruleguard
|
||||||
|
|
||||||
import "github.com/quasilyte/go-ruleguard/dsl"
|
import "github.com/quasilyte/go-ruleguard/dsl"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user