Skip to content

Commit

Permalink
chore: disable gochecknoinits
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlJi committed Sep 3, 2024
1 parent 3844509 commit 6fb69e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions config/linters-config/.golangci.goplus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ linters-settings:
arguments: [50]
- name: add-constant
disabled: true
- name: max-public-structs
disabled: true

issues:
exclude-rules:
Expand Down Expand Up @@ -62,4 +64,5 @@ linters:
- ireturn # seems too arbitrary. also see: https://github.com/go-proverbs/go-proverbs.github.io/issues/37
- godox # seems too arbitrary
- err113 # seems too arbitrary
- gochecknoinits # see too many false positives

4 changes: 3 additions & 1 deletion config/linters-config/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ linters-settings:
arguments: [30]
- name: add-constant
disabled: true
- name: max-public-structs
disabled: true

issues:
exclude-rules:
Expand Down Expand Up @@ -58,4 +60,4 @@ linters:
- ireturn # seems too arbitrary. also see: https://github.com/go-proverbs/go-proverbs.github.io/issues/37
- godox # seems too arbitrary
- err113 # seems too arbitrary

- gochecknoinits # see too many false positives

0 comments on commit 6fb69e6

Please sign in to comment.