Skip to content

Commit 09e9666

Browse files
feat: Enable nestif linter
1 parent 5d8922d commit 09e9666

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

build/ci/golangci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ linters:
5858
- makezero
5959
- musttag
6060
- nakedret
61+
- nestif
6162
- nilerr
6263
- noctx
6364
- paralleltest
@@ -147,6 +148,8 @@ linters:
147148
misspell:
148149
ignore-rules:
149150
- Statuser
151+
nestif:
152+
min-complexity: 7
150153
staticcheck:
151154
checks:
152155
- all

0 commit comments

Comments
 (0)