Skip to content

Makefile: Consolidate lint targets and remove redundant fmt#171

Merged
timflannagan merged 1 commit intoagentregistry-dev:mainfrom
timflannagan:chore/refactor-ci-workflows
Feb 18, 2026
Merged

Makefile: Consolidate lint targets and remove redundant fmt#171
timflannagan merged 1 commit intoagentregistry-dev:mainfrom
timflannagan:chore/refactor-ci-workflows

Conversation

@timflannagan
Copy link
Copy Markdown
Collaborator

Removes the separate lint-fix and fmt targets. The lint target now accepts GOLANGCI_LINT_ARGS for flexibility:

make lint
make lint GOLANGCI_LINT_ARGS=--fix

This reduces target sprawl while maintaining the same functionality. golangci-lint already includes gofmt and goimports, making the standalone fmt target redundant and it's unused in CI.

Removes the separate lint-fix and fmt targets. The lint target now
accepts GOLANGCI_LINT_ARGS for flexibility:

```bash
make lint
make lint GOLANGCI_LINT_ARGS=--fix
```

This reduces target sprawl while maintaining the same functionality.
golangci-lint already includes gofmt and goimports, making the
standalone fmt target redundant and it's unused in CI.

Signed-off-by: timflannagan <[email protected]>
@timflannagan timflannagan merged commit e98a09b into agentregistry-dev:main Feb 18, 2026
3 checks passed
@timflannagan timflannagan deleted the chore/refactor-ci-workflows branch February 18, 2026 19:17
timflannagan added a commit to timflannagan/agentregistry that referenced this pull request Feb 20, 2026
…istry-dev#171)

Removes the separate lint-fix and fmt targets. The lint target now
accepts GOLANGCI_LINT_ARGS for flexibility:

```bash
make lint
make lint GOLANGCI_LINT_ARGS=--fix
```

This reduces target sprawl while maintaining the same functionality.
golangci-lint already includes gofmt and goimports, making the
standalone fmt target redundant and it's unused in CI.

Signed-off-by: timflannagan <[email protected]>
christian-posta pushed a commit to christian-posta/agentregistry that referenced this pull request Mar 9, 2026
…istry-dev#171)

Removes the separate lint-fix and fmt targets. The lint target now
accepts GOLANGCI_LINT_ARGS for flexibility:

```bash
make lint
make lint GOLANGCI_LINT_ARGS=--fix
```

This reduces target sprawl while maintaining the same functionality.
golangci-lint already includes gofmt and goimports, making the
standalone fmt target redundant and it's unused in CI.

Signed-off-by: timflannagan <[email protected]>
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