dev: enable gocheckcompilerdirectives linter (#4114)

This commit is contained in:
Oleksandr Redko 2023-10-05 15:21:43 +03:00 committed by GitHub
parent e641317eb3
commit be034aa9af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 3 deletions

View File

@ -84,6 +84,7 @@ linters:
- errcheck
- exportloopref
- funlen
- gocheckcompilerdirectives
- gochecknoinits
- goconst
- gocritic

View File

@ -1,4 +1,5 @@
// go:build ruleguard
//go:build ruleguard
package ruleguard
import "github.com/quasilyte/go-ruleguard/dsl"

View File

@ -1,4 +1,5 @@
// go:build ruleguard
//go:build ruleguard
package ruleguard
import (

View File

@ -1,4 +1,5 @@
// go:build ruleguard
//go:build ruleguard
package ruleguard
import "github.com/quasilyte/go-ruleguard/dsl"