1
0
mirror of https://github.com/mgechev/revive.git synced 2025-11-23 22:04:49 +02:00

Integrate golangci-lint into CI/CD pipeline (#1346)

Co-authored-by: ccoVeille <3875889+ccoVeille@users.noreply.github.com>
Co-authored-by: Oleksandr Redko <oleksandr.red+github@gmail.com>
This commit is contained in:
Arjun Rajpal
2025-05-16 08:12:23 -04:00
committed by GitHub
parent da3ba31922
commit 26125211ba
13 changed files with 101 additions and 19 deletions

View File

@@ -34,7 +34,7 @@ func TestErrorStringsRule_Configure(t *testing.T) {
{
name: "Invalid function",
arguments: lint.Arguments{"errors."},
wantErr: errors.New("found invalid custom function: errors."),
wantErr: errors.New("found invalid custom function: errors."), //nolint:revive // error-strings: it's ok for tests
},
{
name: "Invalid custom function",