Skip to content

Commit

Permalink
chore: disable jump lint
Browse files Browse the repository at this point in the history
Signed-off-by: Jiyong Huang <[email protected]>
  • Loading branch information
ngjaying committed Sep 9, 2024
1 parent aca9850 commit 04889ce
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions internal/converter/protobuf/converter.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ package protobuf
import (
"fmt"

"github.com/jhump/protoreflect/desc"
"github.com/jhump/protoreflect/desc/protoparse"
"github.com/jhump/protoreflect/desc" //nolint:staticcheck
"github.com/jhump/protoreflect/desc/protoparse" //nolint:staticcheck
"github.com/lf-edge/ekuiper/contract/v2/api"

kconf "github.com/lf-edge/ekuiper/v2/internal/conf"
Expand Down
6 changes: 3 additions & 3 deletions internal/converter/protobuf/fieldConverterSingleton.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022-2023 EMQ Technologies Co., Ltd.
// Copyright 2022-2024 EMQ Technologies Co., Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -20,8 +20,8 @@ import (
// TODO: replace with `google.golang.org/protobuf/proto` pkg.
"github.com/golang/protobuf/proto" //nolint:staticcheck
dpb "github.com/golang/protobuf/protoc-gen-go/descriptor"
"github.com/jhump/protoreflect/desc"
"github.com/jhump/protoreflect/dynamic"
"github.com/jhump/protoreflect/desc" //nolint:staticcheck
"github.com/jhump/protoreflect/dynamic" //nolint:staticcheck

"github.com/lf-edge/ekuiper/v2/pkg/cast"
)
Expand Down
6 changes: 3 additions & 3 deletions internal/schema/ext_inferer_protobuf.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022-2023 EMQ Technologies Co., Ltd.
// Copyright 2022-2024 EMQ Technologies Co., Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -20,8 +20,8 @@ import (
"fmt"

dpb "github.com/golang/protobuf/protoc-gen-go/descriptor"
"github.com/jhump/protoreflect/desc"
"github.com/jhump/protoreflect/desc/protoparse"
"github.com/jhump/protoreflect/desc" //nolint:staticcheck
"github.com/jhump/protoreflect/desc/protoparse" //nolint:staticcheck

kconf "github.com/lf-edge/ekuiper/v2/internal/conf"
"github.com/lf-edge/ekuiper/v2/internal/pkg/def"
Expand Down
6 changes: 3 additions & 3 deletions internal/service/executors.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ import (
"time"

// TODO: replace with `google.golang.org/protobuf/proto` pkg.
"github.com/golang/protobuf/proto" //nolint:staticcheck
"github.com/jhump/protoreflect/dynamic"
"github.com/jhump/protoreflect/dynamic/grpcdynamic"
"github.com/golang/protobuf/proto" //nolint:staticcheck
"github.com/jhump/protoreflect/dynamic" //nolint:staticcheck
"github.com/jhump/protoreflect/dynamic/grpcdynamic" //nolint:staticcheck
"github.com/lf-edge/ekuiper/contract/v2/api"
"github.com/pingcap/failpoint"
"google.golang.org/grpc"
Expand Down
8 changes: 4 additions & 4 deletions internal/service/schema.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2023 EMQ Technologies Co., Ltd.
// Copyright 2021-2024 EMQ Technologies Co., Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -19,9 +19,9 @@ import (
"fmt"
"sync"

"github.com/jhump/protoreflect/desc"
"github.com/jhump/protoreflect/desc/protoparse"
"github.com/jhump/protoreflect/dynamic"
"github.com/jhump/protoreflect/desc" //nolint:staticcheck
"github.com/jhump/protoreflect/desc/protoparse" //nolint:staticcheck
"github.com/jhump/protoreflect/dynamic" //nolint:staticcheck
// introduce annotations
_ "google.golang.org/genproto/googleapis/api/annotations"

Expand Down
6 changes: 3 additions & 3 deletions internal/service/schemaHttp.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2023 EMQ Technologies Co., Ltd.
// Copyright 2021-2024 EMQ Technologies Co., Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -21,8 +21,8 @@ import (
"strings"

dpb "github.com/golang/protobuf/protoc-gen-go/descriptor"
"github.com/jhump/protoreflect/desc"
"github.com/jhump/protoreflect/dynamic"
"github.com/jhump/protoreflect/desc" //nolint:staticcheck
"github.com/jhump/protoreflect/dynamic" //nolint:staticcheck
"google.golang.org/protobuf/reflect/protoreflect"

"github.com/lf-edge/ekuiper/v2/pkg/cast"
Expand Down

0 comments on commit 04889ce

Please sign in to comment.