1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2024-12-27 01:33:39 +02:00
goreleaser/internal
Oleksandr Redko 12155a336b
refactor: remove empty lines, fix //nolint (#5235)
The PR formats code by removing redundant empty lines and fixes
`//nolint` directives. Additionally, this PR adds two more rules to the
`revive` configuration: `empty-lines` and `comment-spacings`.

Removing unnecessary empty lines helps to keep the codebase clean and
concise. This issue is identified by the `revive.empty-lines` rule.

In the `//nolint` directive, there must be no spaces between `:` and the
linter name: `//nolint:gosec`. See ["Nolint
Directive"](https://golangci-lint.run/usage/false-positives/#nolint-directive).
This issue is identified by the `revive.comment-spacings` rule.

Note that it's not possible to add just a few additional rules to the
`revive.enable` list. We need to specify all: default rules plus
additional rules. See the detailed explanation
[here](https://github.com/prometheus/prometheus/pull/13068).
2024-10-31 13:51:54 -03:00
..
archivefiles feat!: rename module to /v2 (#4894) 2024-05-26 15:02:57 -03:00
artifact fix: standardize .Ext to always have the preceding . (#5207) 2024-10-15 14:57:27 -03:00
builders refactor: use std maps,slices instead of golang.org/exp (#5221) 2024-10-25 11:38:55 -03:00
client refactor: remove empty lines, fix //nolint (#5235) 2024-10-31 13:51:54 -03:00
commitauthor feat!: rename module to /v2 (#4894) 2024-05-26 15:02:57 -03:00
deprecate feat!: rename module to /v2 (#4894) 2024-05-26 15:02:57 -03:00
exec feat!: rename module to /v2 (#4894) 2024-05-26 15:02:57 -03:00
experimental feat: default GOARM change to 7 (#5157) 2024-09-27 13:31:29 -03:00
extrafiles feat!: rename module to /v2 (#4894) 2024-05-26 15:02:57 -03:00
gio chore: fix all existing lint issues (#4637) 2024-02-19 08:49:39 -03:00
git feat!: rename module to /v2 (#4894) 2024-05-26 15:02:57 -03:00
golden feat: winget support (#4081) 2023-06-14 23:59:55 -03:00
http fix: standardize .Ext to always have the preceding . (#5207) 2024-10-15 14:57:27 -03:00
ids
logext feat!: rename module to /v2 (#4894) 2024-05-26 15:02:57 -03:00
middleware fix: moving some logs to debug 2024-06-22 22:43:57 -03:00
pipe refactor: remove empty lines, fix //nolint (#5235) 2024-10-31 13:51:54 -03:00
pipeline feat(ko): snapshot builds (#5116) 2024-09-07 11:15:48 -03:00
semerrgroup fix: snapcraft temporary directory + concurrency (#4963) 2024-06-29 19:00:52 -03:00
shell feat!: rename module to /v2 (#4894) 2024-05-26 15:02:57 -03:00
skips refactor: use std maps,slices instead of golang.org/exp (#5221) 2024-10-25 11:38:55 -03:00
static fix: init in v2 (#4915) 2024-06-05 16:28:17 -03:00
testctx fix: typo in testctx.WithConfig parameter (#5220) 2024-10-25 11:17:38 -03:00
testlib test: add missing file.Close() calls (#5167) 2024-10-03 14:37:29 -03:00
tmpl fix: tmpl always copy before modifying (#5200) 2024-10-14 23:59:26 -03:00
yaml feat(yaml): upgraded from yaml.v2 to yaml.v3 (#3004) 2022-03-29 14:00:53 -03:00