Add linting via golangci-lint - #40
Quality Gate failed
Failed conditions
32.8% Duplication on New Code (required ≤ 3%)
Annotations
Check warning on line 193 in pkg/domain/acme_accounts/handlers_post.go
sonarqubecloud / SonarCloud Code Analysis
Complete the task associated to this TODO comment.
See more on https://sonarcloud.io/project/issues?id=gregtwallace_certwarden-backend&issues=AZ_9osCP63KyUSPFXdST&open=AZ_9osCP63KyUSPFXdST&pullRequest=40
Check failure on line 66 in pkg/domain/app/run.go
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 28 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=gregtwallace_certwarden-backend&issues=AaACOxctvMKEkdkiKims&open=AaACOxctvMKEkdkiKims&pullRequest=40
Check warning on line 15 in pkg/domain/orders/order_acme_create.go
sonarqubecloud / SonarCloud Code Analysis
Complete the task associated to this TODO comment.
See more on https://sonarcloud.io/project/issues?id=gregtwallace_certwarden-backend&issues=AaACOxgnvMKEkdkiKimt&open=AaACOxgnvMKEkdkiKimt&pullRequest=40
Check failure on line 9 in pkg/storage/keys_test.go
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=gregtwallace_certwarden-backend&issues=AaACOxQ1vMKEkdkiKimp&open=AaACOxQ1vMKEkdkiKimp&pullRequest=40
Check warning on line 100 in pkg/domain/orders/order.go
sonarqubecloud / SonarCloud Code Analysis
Complete the task associated to this TODO comment.
See more on https://sonarcloud.io/project/issues?id=gregtwallace_certwarden-backend&issues=AZ_4KxxMs07wxPxykqpB&open=AZ_4KxxMs07wxPxykqpB&pullRequest=40
Check warning on line 20 in pkg/challenges/providers/provider.go
sonarqubecloud / SonarCloud Code Analysis
Complete the task associated to this TODO comment.
See more on https://sonarcloud.io/project/issues?id=gregtwallace_certwarden-backend&issues=AZ_9orwf63KyUSPFXdSO&open=AZ_9orwf63KyUSPFXdSO&pullRequest=40
Check failure on line 50 in pkg/storage/certificates_test.go
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 28 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=gregtwallace_certwarden-backend&issues=AaACOxT6vMKEkdkiKimq&open=AaACOxT6vMKEkdkiKimq&pullRequest=40
Check warning on line 62 in pkg/acme/http_post_signed.go
sonarqubecloud / SonarCloud Code Analysis
Complete the task associated to this TODO comment.
See more on https://sonarcloud.io/project/issues?id=gregtwallace_certwarden-backend&issues=AaACOxU5vMKEkdkiKimr&open=AaACOxU5vMKEkdkiKimr&pullRequest=40
Check warning on line 22 in pkg/challenges/providers/dns01acmesh/service_otheros.go
sonarqubecloud / SonarCloud Code Analysis
Rename this interface to follow Go naming conventions for single-method interfaces.
See more on https://sonarcloud.io/project/issues?id=gregtwallace_certwarden-backend&issues=AZ_4FnioWa2l343xaQbO&open=AZ_4FnioWa2l343xaQbO&pullRequest=40