Skip to content

Commit 55eb7aa

Browse files
authored
Merge pull request #18 from ametel01/fix/7-golangci-yml-directly-runnable
Make .golangci.yml directly runnable with golangci-lint v2
2 parents 581aaab + f90fed6 commit 55eb7aa

4 files changed

Lines changed: 2 additions & 22 deletions

File tree

.golangci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ linters:
1313
enable:
1414
# Core correctness
1515
- errcheck
16-
- gosimple
1716
- govet
1817
- staticcheck
1918
- unused

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
## [Unreleased]
99

1010
### Fixed
11+
- `.golangci.yml` is now directly runnable with `golangci-lint run` by removing the obsolete `gosimple` linter entry (merged into `staticcheck` in v2) and the wrapper script workaround.
1112
- Update and uninstall now reuse the skill targets selected during install instead of always regenerating for all targets, preventing skill files from appearing in agent directories the user never opted into.
1213
- Managed update and uninstall now prefer lifecycle commands stored in install receipts instead of always re-selecting from the current catalog, preventing breakage when the catalog changes after install.
1314
- Shell-hook detection now matches exact uncommented lines instead of any substring, preventing commented-out hooks from blocking real hook installation.

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ vet:
5050

5151
lint: tools
5252
@$(STATICCHECK) ./...
53-
@./hack/run-golangci-lint.sh "$(GOLANGCI_LINT)"
53+
@$(GOLANGCI_LINT) run
5454

5555
test:
5656
@$(GO) test ./...

hack/run-golangci-lint.sh

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)