Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@aknuds1
Copy link
Contributor

@aknuds1 aknuds1 commented Aug 26, 2025

Enable the godot linter and fix issues.

Signed-off-by: Arve Knudsen <[email protected]>
@aknuds1 aknuds1 requested review from bwplotka, Copilot and ywwg August 26, 2025 16:45
Copy link
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.

Pull Request Overview

This PR enables the godot linter in the golangci.yml configuration and fixes all the resulting linting issues by adding missing periods to Go comments throughout the codebase.

  • Enabled the godot linter in the configuration
  • Added trailing periods to comment lines that were missing them

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
.golangci.yml Uncommented the godot linter to enable it
promslog/slog.go Added period to Config struct comment
promslog/flag/flag.go Added period to AddFlags function comment
model/time.go Added periods to Set and Type method comments
model/metric.go Added periods to EscapingKey comment and lower function comment
expfmt/expfmt_test.go Simplified and corrected test function comment with proper period
config/http_config_test.go Added period to isEmptyNonNilURL function comment
config/http_config.go Added periods to UnmarshalYAML method comments

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Co-authored-by: Copilot <[email protected]>
Signed-off-by: Arve Knudsen <[email protected]>
@aknuds1 aknuds1 merged commit e8184e3 into main Aug 26, 2025
9 checks passed
@aknuds1 aknuds1 deleted the arve/enable-godot branch August 26, 2025 17:47
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.

3 participants