Skip to content

Commit

Permalink
Add more configs for outputs.
Browse files Browse the repository at this point in the history
Remove the config line in golangci-ling.yml
  • Loading branch information
kavir1698 committed Apr 8, 2024
1 parent 4c7e453 commit 7f8fdb9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ jobs:
uses: golangci/golangci-lint-action@v3
with:
version: v1.50.1
verbose: true
16 changes: 15 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,18 @@ linters-settings:
unused:
# Treat code as a program (not a library) and report unused exported identifiers; default is false.
# The argument specifies the Go source directory to analyze.
check-exported: false
check-exported: false

output:
formats:
- format: colored-line-number
path: stdout
print-issued-lines: true
print-linter-name: true
uniq-by-line: true
sort-results: true
sort-order:
- file
- linter
- severity
show-stats: true

0 comments on commit 7f8fdb9

Please sign in to comment.