Skip to content

Commit

Permalink
update linter settings
Browse files Browse the repository at this point in the history
  • Loading branch information
cornelk committed Jan 22, 2024
1 parent 1ee952d commit 26502f5
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
run:
deadline: 5m
timeout: 5m
modules-download-mode: readonly

linters:
enable:
Expand Down Expand Up @@ -60,11 +61,8 @@ linters:

linters-settings:
stylecheck:
checks: [ "all", "-ST1001", "-ST1003" ]
gosimple:
checks: [ "all", "-S1023" ]
staticcheck:
checks: [ "all", "-SA5002" ]
# ST1001: should not use dot imports
checks: [ "all", "-ST1001" ]
cyclop:
max-complexity: 15
nestif:
Expand Down

0 comments on commit 26502f5

Please sign in to comment.