Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add linter (2949) #3053

Merged
merged 61 commits into from
Oct 3, 2024
Merged

feat: add linter (2949) #3053

merged 61 commits into from
Oct 3, 2024

Conversation

mkcp
Copy link
Contributor

@mkcp mkcp commented Oct 1, 2024

Description

This PR completes the work in the other PRs that store and return errors from various empty and ignored returns. It should be merged after #2993 to ensure we don't add the lint rule before it's fulfilled and create a dirty CI state on main.

Related Issue

Fixes #2949
Depends on #2993
Relates to #2953

Checklist before merging

Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
… to nolint ignore them

Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
…anic

Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
…gnore it

Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
…r before loop

Signed-off-by: Kit Patella <kit@defenseunicorns.com>
…caller

Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Copy link

codecov bot commented Oct 2, 2024

Codecov Report

Attention: Patch coverage is 0% with 12 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/cmd/package.go 0.00% 9 Missing ⚠️
src/pkg/utils/cosign.go 0.00% 3 Missing ⚠️
Files with missing lines Coverage Δ
src/pkg/utils/cosign.go 0.00% <0.00%> (ø)
src/cmd/package.go 0.00% <0.00%> (ø)

Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
@mkcp mkcp added this to the v0.40.0 milestone Oct 2, 2024
schristoff
schristoff previously approved these changes Oct 3, 2024
AustinAbro321
AustinAbro321 previously approved these changes Oct 3, 2024
@mkcp mkcp added this pull request to the merge queue Oct 3, 2024
@AustinAbro321 AustinAbro321 removed this pull request from the merge queue due to a manual request Oct 3, 2024
Co-authored-by: Austin Abro <37223396+AustinAbro321@users.noreply.github.com>
@mkcp mkcp enabled auto-merge October 3, 2024 18:05
@mkcp mkcp added this pull request to the merge queue Oct 3, 2024
Merged via the queue into main with commit e1a99f6 Oct 3, 2024
26 checks passed
@mkcp mkcp deleted the mkcp/2949-add-linter branch October 3, 2024 18:30
mjnagel pushed a commit to mjnagel/zarf that referenced this pull request Oct 21, 2024
Signed-off-by: Kit Patella <kit@defenseunicorns.com>
Co-authored-by: Austin Abro <37223396+AustinAbro321@users.noreply.github.com>
Signed-off-by: Micah Nagel <micah.nagel@defenseunicorns.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable linting ignored
3 participants