From 333fae4d254b0589e2b2ea4d4bfe5a54e14107dc Mon Sep 17 00:00:00 2001 From: Richard Kettelerij Date: Fri, 20 Sep 2024 13:23:52 +0200 Subject: [PATCH] feat(oaf): Add support to return feature properties in a specific order + fix build --- .golangci.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.golangci.yaml b/.golangci.yaml index e0276617..401c9db5 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -43,6 +43,9 @@ linters-settings: forbid: - http\.NotFound.* # return RFC 7807 problem details instead - http\.Error.* # return RFC 7807 problem details instead + gomoddirectives: + replace-allow-list: + - github.com/wk8/go-ordered-map/v2 linters: disable-all: true @@ -66,7 +69,7 @@ linters: - errname # checks that sentinel errors are prefixed with the Err and error types are suffixed with the Error - errorlint # finds code that will cause problems with the error wrapping scheme introduced in Go 1.13 - exhaustive # checks exhaustiveness of enum switch statements - - exportloopref # checks for pointers to enclosing loop variables + - copyloopvar # checks for pointers to enclosing loop variables - forbidigo # forbids identifiers - funlen # tool for detection of long functions - gocheckcompilerdirectives # validates go compiler directive comments (//go:)