Skip to content

Commit

Permalink
Merge pull request #170 from prometheus-community/superq/v0.2.0
Browse files Browse the repository at this point in the history
Release v0.2.0
  • Loading branch information
SuperQ authored Mar 30, 2024
2 parents 6d34c4c + eb5bc8f commit 83cae52
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 11 deletions.
19 changes: 18 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,21 @@
---
linters:
enable:
- misspell
- revive

linters-settings:
errcheck:
exclude: scripts/errcheck_excludes.txt
exclude-functions:
# Don't flag lines such as "io.Copy(io.Discard, resp.Body)".
- io.Copy
# Used in HTTP handlers, any error is handled by the server itself.
- (net/http.ResponseWriter).Write
# Never check for logger errors.
- (github.com/go-kit/log.Logger).Log
revive:
rules:
# https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unused-parameter
- name: unused-parameter
severity: warning
disabled: true
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
## master / unreleased

* [BUGFIX] /clients endpoint return application/json as Content-Type
## 0.2.0 / 2024-03-28

* [FEATURE] Implement flags to control retry delays #83
* [ENHANCEMENT] Add scrape_id to error log #120
* [BUGFIX] /clients endpoint return application/json as Content-Type #121

## 0.1.0 / 2019-07-29

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.0
0.2.0
8 changes: 0 additions & 8 deletions scripts/errcheck_excludes.txt

This file was deleted.

0 comments on commit 83cae52

Please sign in to comment.