Skip to content

chore(linter): fix revive linter issues in pkg#5412

Merged
moolen merged 5 commits intoexternal-secrets:mainfrom
Lumexralph:olumide/configure-revive-linter-pkg
Oct 8, 2025
Merged

chore(linter): fix revive linter issues in pkg#5412
moolen merged 5 commits intoexternal-secrets:mainfrom
Lumexralph:olumide/configure-revive-linter-pkg

Conversation

@Lumexralph
Copy link
Copy Markdown
Contributor

@Lumexralph Lumexralph commented Oct 5, 2025

Problem Statement

According to this PR #3396 was implemented, the revive linter wasn't configured because it had loads of issues to be fixed. This PR configures the revive linter and fixes all the issues raised by the linter.

Related Issue

Fixes #3397

Proposed Changes

Fix all the issues raised by the linter so that we can configure the revive linter. It is the second in the series of PRs to follow.

Format

Please ensure that your PR follows the following format for the title:

feat(scope): add new feature
fix(scope): fix bug
docs(scope): update documentation
chore(scope): update build tool or dependencies
ref(scope): refactor code
clean(scope): provider cleanup
test(scope): add tests
perf(scope): improve performance
desig(scope): improve design

Where scope is optionally one of:

  • charts
  • release
  • testing
  • security
  • templating

Checklist

  • I have read the contribution guidelines
  • All commits are signed with git commit --signoff
  • My changes have reasonable test coverage
  • All tests pass with make test
  • I ensured my PR is ready for review with make reviewable

@github-actions github-actions bot added the size/l label Oct 5, 2025
@Lumexralph Lumexralph changed the title Fix revive linter issues in pkg chore(linter): fix revive linter issues in pkg Oct 5, 2025
@github-actions github-actions bot added kind/chore Categorizes Pull Requests for chore activities (like bumping versions) area/linter labels Oct 5, 2025
@Lumexralph Lumexralph marked this pull request as ready for review October 5, 2025 08:53
Signed-off-by: Olumide Ogundele <olumideralph@gmail.com>
* rename the pkg/utils to pkg/esutils

Signed-off-by: Olumide Ogundele <olumideralph@gmail.com>
Signed-off-by: Olumide Ogundele <olumideralph@gmail.com>
Signed-off-by: Olumide Ogundele <olumideralph@gmail.com>
@Lumexralph Lumexralph force-pushed the olumide/configure-revive-linter-pkg branch from de5a449 to ee54a6c Compare October 5, 2025 09:48
Copy link
Copy Markdown
Member

@moolen moolen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for going through this painful work ❤️

@moolen moolen enabled auto-merge (squash) October 8, 2025 22:08
@moolen moolen merged commit e92a450 into external-secrets:main Oct 8, 2025
1 check passed
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Oct 8, 2025

SamuelMolling pushed a commit to SamuelMolling/external-secrets that referenced this pull request Oct 24, 2025
* chore(linter): fix revive linter errors

Signed-off-by: Olumide Ogundele <olumideralph@gmail.com>

* chore(linter): fix revive linter errors

* rename the pkg/utils to pkg/esutils

Signed-off-by: Olumide Ogundele <olumideralph@gmail.com>

* chore(linter): fix import issues

Signed-off-by: Olumide Ogundele <olumideralph@gmail.com>

* chore(linter): fix package comment

Signed-off-by: Olumide Ogundele <olumideralph@gmail.com>

---------

Signed-off-by: Olumide Ogundele <olumideralph@gmail.com>
Signed-off-by: Samuel Molling <samuelmolling@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/linter kind/chore Categorizes Pull Requests for chore activities (like bumping versions) size/l

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Configure revive properly

2 participants