Skip to content

Commit

Permalink
chore: enable duplicated-imports from revive
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu MOREL <[email protected]>
  • Loading branch information
mmorel-35 committed Jan 5, 2025
1 parent e66068c commit c004f11
Show file tree
Hide file tree
Showing 32 changed files with 2,227 additions and 2,263 deletions.
3 changes: 3 additions & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,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 c004f11

Please sign in to comment.