Skip to content

Commit 3d4b3f6

Browse files
committed
Allow more permission ints, more cyclomatic complexity
1 parent 1ad2b2a commit 3d4b3f6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.golangci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,12 +175,12 @@ linters:
175175
arguments:
176176
- max-lit-count: "5"
177177
allow-strs: '"","\n"'
178-
allow-ints: "0,1,2,3,256,1024,0o600,0o700,0o755"
178+
allow-ints: "0,1,2,3,24,30,365,1024,0o600,0o700,0o750,0o755"
179179
allow-floats: "0.0,0.,1.0,1.,2.0,2."
180180
- name: cognitive-complexity
181-
arguments: [50]
182-
- name: cyclomatic
183181
arguments: [55]
182+
- name: cyclomatic
183+
arguments: [60]
184184
- name: function-length
185185
arguments: [150, 225]
186186
- name: line-length-limit

0 commit comments

Comments
 (0)