Skip to content

build(Makefile): add lint-code target - #669

Open
LoweRAM wants to merge 1 commit into
canonical:mainfrom
LoweRAM:add-lint-code-target
Open

LoweRAM wants to merge 1 commit into
canonical:mainfrom
LoweRAM:add-lint-code-target

Conversation

@LoweRAM

@LoweRAM LoweRAM commented Oct 25, 2026

Copy link
Copy Markdown

Add a lint-code Makefile target grouping code-specific linters, following the starbase pattern.

lint now depends on lint-code plus non-code linters (docs/twine/uv-lockfile where present).

Verified with make -n lint-code (and make -n lint) in a fresh worktree from origin/main.

@LoweRAM
LoweRAM force-pushed the add-lint-code-target branch from 6b04479 to d5c7f53 Compare October 25, 2026 15:38
@LoweRAM LoweRAM changed the title chore: add lint-code target build(Makefile): add lint-code target Oct 25, 2026
@lengau
lengau marked this pull request as ready for review October 25, 2026 15:42
@lengau
lengau requested a review from cmatsuoka as a code owner October 25, 2026 15:42
Copilot AI lite review requested due to automatic review settings October 25, 2026 15:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The advertised docs, twine, and uv-lockfile linters are not wired into lint, leaving a moderate unresolved issue.

No open issues 🎉

What changed in this PR

This pull request adds a lint-code Makefile target for code-specific linters and updates lint to depend on it.

Changes:

  • Adds the lint-code target for golangci-lint and ShellCheck.
  • Updates lint to depend on lint-code.
  • Verifies target expansion with make -n.
File Description
Makefile Adds the code-linter grouping target and updates the main lint target.

Review effort: Lite

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