Skip to content

Commit

Permalink
Ignore dup, lll and funlen for certain files
Browse files Browse the repository at this point in the history
  • Loading branch information
K1li4nL committed May 31, 2024
1 parent a3ee4ef commit 19ca0d2
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 3 deletions.
1 change: 1 addition & 0 deletions group.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//nolint:interfacebloat // Already a well defined interface
package kyber

import (
Expand Down
3 changes: 2 additions & 1 deletion group/edwards25519/const.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//
//nolint:lll
package edwards25519

import (
Expand Down
3 changes: 2 additions & 1 deletion group/edwards25519/fe.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//
//nolint:funlen
package edwards25519

import (
Expand Down
3 changes: 2 additions & 1 deletion group/edwards25519/scalar.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//
//nolint:funlen
package edwards25519

import (
Expand Down
1 change: 1 addition & 0 deletions pairing/bn254/constants.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//nolint:lll
package bn254

import (
Expand Down
1 change: 1 addition & 0 deletions pairing/bn254/test_vectors.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//nolint:lll
package bn254

// Generated from bls-bn254 tests
Expand Down
1 change: 1 addition & 0 deletions pairing/circl_bls12381/g1.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//nolint:dupl // unavoidable duplication between g1 and g2
package circl_bls12381

import (
Expand Down
1 change: 1 addition & 0 deletions pairing/circl_bls12381/g2.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//nolint:dupl // unavoidable duplication between g1 and g2
package circl_bls12381

import (
Expand Down

0 comments on commit 19ca0d2

Please sign in to comment.