Skip to content

Commit

Permalink
chore: enable duplicated-imports from revive (#21378)
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu MOREL <[email protected]>
  • Loading branch information
mmorel-35 authored Jan 6, 2025
1 parent 0c1d218 commit c803257
Show file tree
Hide file tree
Showing 32 changed files with 2,042 additions and 2,077 deletions.
3 changes: 3 additions & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ linters-settings:
# Importing with `.` makes the programs much harder to understand
- name: dot-imports
disabled: true
# https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#duplicated-imports
- name: duplicated-imports
disabled: false
# Empty blocks make code less readable and could be a symptom of a bug or unfinished refactoring.
- name: empty-block
disabled: true
Expand Down
139 changes: 69 additions & 70 deletions applicationset/generators/git_test.go

Large diffs are not rendered by default.

Loading

0 comments on commit c803257

Please sign in to comment.