Skip to content

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
peczenyj committed Oct 4, 2024
1 parent f584609 commit 1aa3ac1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ linters:
disable:
- gosimple
- staticcheck
- structcheck
- unused

linters-settings:
Expand All @@ -27,6 +26,11 @@ linters-settings:
max-func-lines: 10
revive:
min-confidence: 0.5
rules:
- name: package-comments
disabled: true
- name: unused-parameter
disabled: true

issues:
exclude-rules:
Expand Down
6 changes: 3 additions & 3 deletions testData/lang/function/func.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ package function
// Additional description can be provided in subsequent paragraphs, including
// code blocks and headers
//
// Header A
// # Header A
//
// This section contains a code block.
//
// Code Block
// More of Code Block
// Code Block
// More of Code Block
func Standalone(p1 int, p2 string) (int, error) {
return p1, nil
}
Expand Down

0 comments on commit 1aa3ac1

Please sign in to comment.