Add more lints: asciicheck, bidichk, spancheck (#8182)

Remove a few trivial instances of trailing whitespace.
This commit is contained in:
James Renken 2025-05-13 11:56:40 -07:00 committed by GitHub
parent f0dfbfdb08
commit 4d28e010f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -48,7 +48,6 @@ stale.
}
serialNumber := big.NewInt(0).SetBytes(bytes)
_, err = helper.ReqSerial(serialNumber, config)
} else {
_, err = helper.ReqFile(a, config)
}