Skip to content

chore: one lint entry point, and a Makefile matching the sibling repos - #43

Merged
leinss merged 1 commit into
releasefrom
feature/tooling
Aug 18, 2026
Merged

chore: one lint entry point, and a Makefile matching the sibling repos#43
leinss merged 1 commit into
releasefrom
feature/tooling

Conversation

@leinss

@leinss leinss commented Aug 18, 2026

Copy link
Copy Markdown
Owner

Why

pnpm lint meant eslint only, while the spacing and link checks hid under
check:* here and lint:* in astro-sassify. The same scripts carried two
different prefixes across two repos, and no single command ran them all.

What changed

  • lint runs every static check. The eslint call moves to lint:eslint.
  • check:spacing and check:links are renamed lint:spacing and lint:links.
  • CI drops its separate spacing step. A check added to lint now runs in CI
    without editing the workflow.
  • lint deliberately excludes the link check: it reads dist/ and exits 1
    without it, so it belongs to the build, which already runs it.
  • New Makefile with the same targets and help output as the sibling repos,
    so make help, make lint, make build and make clean work the same way
    in each.

Test plan

  • make help lists the targets
  • make lint passes
  • pnpm build succeeds, 82 pages, 1842 internal links, none broken

`pnpm lint` meant eslint only, while the spacing and link checks hid under
`check:*` here and `lint:*` in astro-sassify: the same scripts under two
prefixes, and no single command that runs them all.

- `lint` now runs every static check; the eslint call moves to `lint:eslint`
- `check:spacing` and `check:links` become `lint:spacing` and `lint:links`
- CI drops its separate spacing step, so a check added to `lint` runs there
  without editing the workflow
- `lint` excludes the link check on purpose: that one reads dist/ and exits 1
  without it, so it belongs to the build, which already runs it
- Add a Makefile with the same targets and help output as the sibling repos
@leinss
leinss merged commit b0b99b3 into release Aug 18, 2026
2 checks passed
@leinss
leinss deleted the feature/tooling branch August 18, 2026 09:48
leinss added a commit that referenced this pull request Aug 19, 2026
#43)

`pnpm lint` meant eslint only, while the spacing and link checks hid under
`check:*` here and `lint:*` in astro-sassify: the same scripts under two
prefixes, and no single command that runs them all.

- `lint` now runs every static check; the eslint call moves to `lint:eslint`
- `check:spacing` and `check:links` become `lint:spacing` and `lint:links`
- CI drops its separate spacing step, so a check added to `lint` runs there
  without editing the workflow
- `lint` excludes the link check on purpose: that one reads dist/ and exits 1
  without it, so it belongs to the build, which already runs it
- Add a Makefile with the same targets and help output as the sibling repos
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.

1 participant