Skip to content

lint: record VS Code config rule + rename EditorConfig step + process-type Lint tasks - #280

Merged
ptr727 merged 1 commit into
developfrom
lint/conventions-and-vscode-rule
Jul 11, 2026
Merged

lint: record VS Code config rule + rename EditorConfig step + process-type Lint tasks#280
ptr727 merged 1 commit into
developfrom
lint/conventions-and-vscode-rule

Conversation

@ptr727

@ptr727 ptr727 commented Jul 11, 2026

Copy link
Copy Markdown
Owner

Three fleet conventions, canonical first (then I'll re-sync the converged repos).

  1. VS Code config rule (AGENTS.md): settings and extension recommendations live only in the .code-workspace, never a standalone .vscode/settings.json or .vscode/extensions.json (.vscode/ holds only tasks.json and launch.json). Recorded in the governance doc, not agent memory.
  2. Rename the Check line endings CI step and the Lint: Line Endings VS Code task to EditorConfig — the tool enforces charset, trailing whitespace, and final-newline too, not just line endings.
  3. VS Code Lint tasks → type: process + args (from type: shell + command string) for robustness (no shell-quoting) and consistency with the rest of the tasks file.

Note: cspell model confirmed — the .code-workspace already recommends the Code Spell Checker extension (broad live hints on any file), while CI enforces README+HISTORY; nothing needed there.

🤖 Generated with Claude Code

…-type tasks

- AGENTS.md: VS Code settings and extension recommendations live only in the
  .code-workspace, never a standalone .vscode/settings.json or .vscode/extensions.json
  (.vscode/ holds only tasks.json and launch.json).
- Rename the "Check line endings" CI step and the "Lint: Line Endings" VS Code task to
  "EditorConfig" - the tool enforces charset, whitespace, and final-newline too, not just EOL.
- VS Code Lint tasks: type: process with an args array instead of type: shell with a
  command string, for robustness and consistency with the rest of the tasks file.

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

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

Updates governance and local/CI lint UX to better reflect what tools do and to make VS Code lint tasks more robust across shells/platforms.

Changes:

  • Documented the fleet rule that VS Code settings/extension recommendations live only in the .code-workspace (not .vscode/settings.json or .vscode/extensions.json).
  • Renamed the CI lint step (and the VS Code task) from "line endings" to "EditorConfig" to match editorconfig-checker's actual scope.
  • Converted VS Code Lint tasks from type: shell + command string to type: process + args arrays.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
catalog/snippets/configs/vscode-tasks.json Renames the EditorConfig lint task and switches lint tasks to process + args for safer invocation.
AGENTS.md Records the VS Code config location rule and updates lint-surface wording to "EditorConfig checks".
.github/workflows/test-pull-request.yml Renames the editorconfig-checker step to "Check EditorConfig step" for accuracy.

@ptr727
ptr727 merged commit 31e21e8 into develop Jul 11, 2026
7 checks passed
@ptr727
ptr727 deleted the lint/conventions-and-vscode-rule branch July 11, 2026 14:45
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