mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-28 14:40:51 +02:00
multi: rename nolint:lll to nolint:ll
Find and replace all nolint instances refering to the `lll` linter and replace with `ll` which is the name of our custom version of the `lll` linter which can be used to ignore log lines during linting. The next commit will do the configuration of the custom linter and disable the default one.
This commit is contained in:
@@ -592,7 +592,7 @@ func TestLightningWireProtocol(t *testing.T) {
|
||||
req.LeaseExpiry = new(LeaseExpiry)
|
||||
*req.LeaseExpiry = LeaseExpiry(1337)
|
||||
|
||||
//nolint:lll
|
||||
//nolint:ll
|
||||
req.LocalNonce = someLocalNonce[NonceRecordTypeT](r)
|
||||
} else {
|
||||
req.UpfrontShutdownScript = []byte{}
|
||||
@@ -667,7 +667,7 @@ func TestLightningWireProtocol(t *testing.T) {
|
||||
req.LeaseExpiry = new(LeaseExpiry)
|
||||
*req.LeaseExpiry = LeaseExpiry(1337)
|
||||
|
||||
//nolint:lll
|
||||
//nolint:ll
|
||||
req.LocalNonce = someLocalNonce[NonceRecordTypeT](r)
|
||||
} else {
|
||||
req.UpfrontShutdownScript = []byte{}
|
||||
@@ -749,7 +749,7 @@ func TestLightningWireProtocol(t *testing.T) {
|
||||
scid := NewShortChanIDFromInt(uint64(r.Int63()))
|
||||
req.AliasScid = &scid
|
||||
|
||||
//nolint:lll
|
||||
//nolint:ll
|
||||
req.NextLocalNonce = someLocalNonce[NonceRecordTypeT](r)
|
||||
}
|
||||
|
||||
@@ -794,7 +794,7 @@ func TestLightningWireProtocol(t *testing.T) {
|
||||
}
|
||||
|
||||
if r.Int31()%2 == 0 {
|
||||
//nolint:lll
|
||||
//nolint:ll
|
||||
req.ShutdownNonce = someLocalNonce[ShutdownNonceType](r)
|
||||
}
|
||||
|
||||
@@ -994,7 +994,7 @@ func TestLightningWireProtocol(t *testing.T) {
|
||||
|
||||
// 50/50 chance to attach a local nonce.
|
||||
if r.Int31()%2 == 0 {
|
||||
//nolint:lll
|
||||
//nolint:ll
|
||||
req.LocalNonce = someLocalNonce[NonceRecordTypeT](r)
|
||||
}
|
||||
|
||||
@@ -1202,7 +1202,7 @@ func TestLightningWireProtocol(t *testing.T) {
|
||||
return
|
||||
}
|
||||
|
||||
//nolint:lll
|
||||
//nolint:ll
|
||||
req.LocalNonce = someLocalNonce[NonceRecordTypeT](r)
|
||||
}
|
||||
|
||||
@@ -1645,7 +1645,7 @@ func TestLightningWireProtocol(t *testing.T) {
|
||||
// Alternate between the two direction possibilities.
|
||||
if r.Int31()%2 == 0 {
|
||||
req.SecondPeer = tlv.SomeRecordT(
|
||||
tlv.ZeroRecordT[tlv.TlvType8, TrueBoolean](), //nolint:lll
|
||||
tlv.ZeroRecordT[tlv.TlvType8, TrueBoolean](), //nolint:ll
|
||||
)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user