Skip to content

Commit 987ef14

Browse files
authored
chore: add support for importas (#4051)
1 parent b6f4af9 commit 987ef14

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.golangci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ linters:
2222
- gosec #(gas): Inspects source code for security problems [fast: false, auto-fix: false]
2323
- gosimple #(megacheck): Linter for Go source code that specializes in simplifying a code [fast: false, auto-fix: false]
2424
- govet #(vet, vetshadow): Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string [fast: false, auto-fix: false]
25+
- importas # Enforces consistent import aliases [fast: false, auto-fix: false]
2526
- ineffassign # Detects when assignments to existing variables are not used [fast: true, auto-fix: false]
2627
- misspell # Finds commonly misspelled English words in comments [fast: true, auto-fix: true]
2728
- nakedret # Finds naked returns in functions greater than a specified function length [fast: true, auto-fix: false]

0 commit comments

Comments
 (0)