Skip to content

multiple modifications as suggested by super-linter#33

Merged
sjmudd merged 28 commits intomasterfrom
super-linter-updates
Mar 27, 2026
Merged

multiple modifications as suggested by super-linter#33
sjmudd merged 28 commits intomasterfrom
super-linter-updates

Conversation

@sjmudd
Copy link
Copy Markdown
Owner

@sjmudd sjmudd commented Feb 9, 2026

The super-linter kicked in and required a large number of changes which are applied here.

@sjmudd sjmudd self-assigned this Feb 9, 2026
@sjmudd sjmudd requested a review from Copilot February 9, 2026 16:35
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@sjmudd sjmudd requested a review from Copilot February 9, 2026 16:36
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

sjmudd added 12 commits March 26, 2026 14:30
- remove unneeded xxx.String() in log.Println()
- connector/Connector.Connect() now returns an error (avoids calling
  log.Fatal) and is handled by caller
- utils/FormatPct cleanup, using a switch statement
- view handling: SetupAndValidate() can return an error, avoids log.Fatal
- wrappers: use slices.SortFunc rather than sort.Slice for sorting data
  which is apparently more efficient. (may not matter tbh)
@sjmudd sjmudd force-pushed the super-linter-updates branch from 1c172e2 to 1c1e054 Compare March 26, 2026 14:05
@sjmudd sjmudd marked this pull request as draft March 26, 2026 14:07
sjmudd added 11 commits March 26, 2026 15:15
- app/app_test: remove unnecesasry commented module imports
- connector.Connector: check for connect errors and validate port value
- utils: reduce duplicate code: add common function for comparing SumTimerWait / Name ordering
- cleanup super-linter.yml configuration
- fix some spelling mistakes
- connector: add nolint:gosec hint due to false positive
- super-linter did not work for me with Go so disabled it for handling
  Go linting
- added golangci-lint explicitly to handle Go linting. This seems to
  work.
- update go.mod for Go 1.26
… formatting

- Replace curl install with go install for cleaner YAML
- Use correct module path with /v2 for golangci-lint v2.x
- Fix lint-locally.sh indentation (tabs for shfmt compliance)
@sjmudd sjmudd marked this pull request as ready for review March 27, 2026 08:54
This PR has multiple changes related to super-linter fixes
and my experimentation with AI coding.
@sjmudd sjmudd merged commit 0dc792e into master Mar 27, 2026
11 checks passed
@sjmudd sjmudd deleted the super-linter-updates branch March 27, 2026 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants