Skip to content

Add linting via golangci-lint - #40

Open
gregtwallace wants to merge 22 commits into
masterfrom
golangci-lint
Open

Add linting via golangci-lint#40
gregtwallace wants to merge 22 commits into
masterfrom
golangci-lint

Merge branch 'golangci-lint' of https://github.com/gregtwallace/certw…

cc4fb8a
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Aug 14, 2026 in 21s

Quality Gate failed

Annotations

Check warning on line 193 in pkg/domain/acme_accounts/handlers_post.go

See this annotation in the file changed.

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

See this annotation in the file changed.

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

See this annotation in the file changed.

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

See this annotation in the file changed.

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

See this annotation in the file changed.

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

See this annotation in the file changed.

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

See this annotation in the file changed.

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

See this annotation in the file changed.

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

See this annotation in the file changed.

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