Skip to content

vscode-tasks: --pull=always on local lint tasks + broad local spelling - #284

Merged
ptr727 merged 3 commits into
developfrom
lint/pull-always-broad-spelling
Jul 12, 2026
Merged

vscode-tasks: --pull=always on local lint tasks + broad local spelling#284
ptr727 merged 3 commits into
developfrom
lint/pull-always-broad-spelling

Conversation

@ptr727

@ptr727 ptr727 commented Jul 12, 2026

Copy link
Copy Markdown
Owner

Two canonical vscode-tasks.json refinements (maintainer-requested):

  • --pull=always on the docker-based Lint tasks (EditorConfig, Workflows, Markdown, Spelling) so a local run always uses the current :latest image rather than a stale cached one. CI is unaffected - ephemeral runners already pull fresh each run.
  • Broad local spelling: Lint: Spelling now runs cspell ** (every file it naturally checks), matching the cspell extension's broad live checking, so local spell-checks surface typos in source and other text files - not just markdown. CI still enforces spelling on README + HISTORY only (the user-facing gate).

The cspell extension (recommended in .code-workspace) remains the primary broad live checker; this makes the on-demand task consistent with it.

- Add --pull=always to the docker Lint tasks (EditorConfig, Workflows, Markdown,
  Spelling) so a local run always uses the current :latest image, not a stale cached
  one. CI is unaffected (ephemeral runners already pull fresh each run).
- Lint: Spelling now checks every file (cspell **), matching the cspell extension's
  broad live checking, so local spell-checks surface typos in source and other text
  files too. CI still enforces spelling on README + HISTORY only.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 12, 2026 02:50

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.

Pull request overview

Refines the canonical VS Code lint tasks snippet so local on-demand linting stays current with upstream Docker :latest images and broadens local spelling checks to align with the cspell extension's workspace-wide checking behavior.

Changes:

  • Add --pull=always to Docker-based lint tasks so local runs always use the latest images.
  • Expand Lint: Spelling from **/*.md to ** to spell-check the whole workspace in the on-demand task.
  • Update the lint-group header comment to describe the adjusted local/CI spelling scope.

Comment thread catalog/snippets/configs/vscode-tasks.json Outdated
Comment thread catalog/snippets/configs/vscode-tasks.json
The cspell extension provides broad live checking; the task mirrors the CI gate.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 12, 2026 03:01

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.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.

Comment thread catalog/snippets/configs/vscode-tasks.json
Comment thread catalog/snippets/configs/vscode-tasks.json Outdated
…ISTORY

- Shorten the Lint-group comment to two lines (concise-comments rule).
- AGENTS.md docker lint one-liners get --pull=always to match the tasks; the cspell
  one-liner checks README + HISTORY, matching the CI-parity Lint: Spelling task.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 12, 2026 03:04
@ptr727
ptr727 merged commit 158eba1 into develop Jul 12, 2026
7 checks passed
@ptr727
ptr727 deleted the lint/pull-always-broad-spelling branch July 12, 2026 03:05

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.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

Comment on lines 159 to +162
"label": "Lint: Spelling",
"type": "process",
"command": "docker",
"args": [ "run", "--rm", "-v", "${workspaceFolder}:/workdir", "-w", "/workdir", "ghcr.io/streetsidesoftware/cspell:latest", "--no-progress", "**/*.md" ],
"args": [ "run", "--rm", "--pull=always", "-v", "${workspaceFolder}:/workdir", "-w", "/workdir", "ghcr.io/streetsidesoftware/cspell:latest", "--no-progress", "README.md", "HISTORY.md" ],
ptr727 added a commit that referenced this pull request Jul 12, 2026
…ne-liner scope (#285)

Forward promotion of #284. No release.
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