Add more lints: asciicheck, bidichk, spancheck (#8182)
Remove a few trivial instances of trailing whitespace.
This commit is contained in:
parent
f0dfbfdb08
commit
4d28e010f6
|
@ -1,6 +1,8 @@
|
|||
linters:
|
||||
disable-all: true
|
||||
enable:
|
||||
- asciicheck
|
||||
- bidichk
|
||||
- errcheck
|
||||
- gofmt
|
||||
- gosec
|
||||
|
@ -9,6 +11,7 @@ linters:
|
|||
- ineffassign
|
||||
- misspell
|
||||
- nolintlint
|
||||
- spancheck
|
||||
- sqlclosecheck
|
||||
- typecheck
|
||||
- unconvert
|
||||
|
|
|
@ -391,7 +391,6 @@ func (dnsClient *impl) exchangeOne(ctx context.Context, hostname string, qtype u
|
|||
return
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// isTLD returns a simplified view of whether something is a TLD: does it have
|
||||
|
|
|
@ -220,7 +220,6 @@ func (sa *StorageAuthorityReadOnly) GetCertificateStatus(_ context.Context, req
|
|||
|
||||
func (sa *StorageAuthorityReadOnly) SetCertificateStatusReady(ctx context.Context, req *sapb.Serial, _ ...grpc.CallOption) (*emptypb.Empty, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "unimplemented mock")
|
||||
|
||||
}
|
||||
|
||||
// GetRevocationStatus is a mock
|
||||
|
|
|
@ -48,7 +48,6 @@ stale.
|
|||
}
|
||||
serialNumber := big.NewInt(0).SetBytes(bytes)
|
||||
_, err = helper.ReqSerial(serialNumber, config)
|
||||
|
||||
} else {
|
||||
_, err = helper.ReqFile(a, config)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue