diff --git a/.golangci.yml b/.golangci.yml index 0e2a514f..40fdaad2 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -78,6 +78,11 @@ linters: - stringsbuilder - testingcontext + revive: + enable-default-rules: true + rules: + - name: redundant-import-alias + exclusions: rules: - linters: diff --git a/internal/servers/rtsp/server_test.go b/internal/servers/rtsp/server_test.go index 9bc4c401..18fbb9dd 100644 --- a/internal/servers/rtsp/server_test.go +++ b/internal/servers/rtsp/server_test.go @@ -15,7 +15,7 @@ import ( "github.com/bluenviron/gortsplib/v5/pkg/base" "github.com/bluenviron/gortsplib/v5/pkg/description" "github.com/bluenviron/gortsplib/v5/pkg/format" - mpegts "github.com/bluenviron/mediacommon/v2/pkg/formats/mpegts" + "github.com/bluenviron/mediacommon/v2/pkg/formats/mpegts" tscodecs "github.com/bluenviron/mediacommon/v2/pkg/formats/mpegts/codecs" "github.com/pires/go-proxyproto"