Skip to content

Commit 62b1676

Browse files
committed
test: allow cyclomatic complexity of 20
1 parent 0bf4246 commit 62b1676

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

.golangci.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,6 @@ issues:
99
- errcheck
1010
- dupl
1111

12-
# Parsing logic has high cyclomatic complexity. This is okay.
13-
- path: pkg/importer/parser/ynab4/parse.go
14-
linters:
15-
- gocyclo
16-
text: "func `parseTransactions`"
17-
18-
# Parsing logic has high cyclomatic complexity. This is okay.
19-
- path: pkg/importer/creator.go
20-
linters:
21-
- gocyclo
22-
text: "func `Create`"
23-
2412
- path: pkg/models/envelope.go
2513
linters:
2614
- gocyclo
@@ -41,7 +29,7 @@ linters-settings:
4129
gofumpt:
4230
extra-rules: true
4331
gocyclo:
44-
min-complexity: 15
32+
min-complexity: 20
4533

4634
godot:
4735
exclude:

0 commit comments

Comments
 (0)