Skip to content

Correct config comments flagged in review - #128

Merged
ptr727 merged 1 commit into
developfrom
fix-config-comments-from-review
Jun 8, 2026
Merged

Correct config comments flagged in review#128
ptr727 merged 1 commit into
developfrom
fix-config-comments-from-review

Conversation

@ptr727

@ptr727 ptr727 commented Jun 8, 2026

Copy link
Copy Markdown
Owner

Fixes three comment/consistency nits surfaced by Copilot on the downstream promotion PRs (the same template config propagated to derived repos, so fixing it here corrects the source - downstream picks it up on re-sync):

  • .markdownlint-cli2.jsonc: the MD060 comment was wrong - MD060 is the table-column-style rule (pipe/column spacing), not about wide or wrapping tables. Rewrote it to say we don't enforce a table pipe-spacing style.
  • .editorconfig: the JSON section globs json,jsonc now, so the # Json files header is updated to # Json and JsonC files.
  • AGENTS.md: the markdownlint --fix first-adoption step now uses the Docker invocation (consistent with "Running the Linters Locally") instead of a bare markdownlint-cli2 command.

markdownlint clean; CRLF preserved.

- .markdownlint-cli2.jsonc: MD060 is the table-column-style rule (pipe spacing),
  not about wide/wrapping tables; rewrite the comment to say we don't enforce a
  table pipe-spacing style.
- .editorconfig: the JSON section now globs json+jsonc, so update the header
  comment from 'Json files' to 'Json and JsonC files'.
- AGENTS.md: the markdownlint --fix first-adoption step now uses the Docker
  invocation (consistent with 'Running the Linters Locally'), not a bare
  markdownlint-cli2 command.
Copilot AI review requested due to automatic review settings June 8, 2026 16: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.

Pull request overview

This PR corrects a few documentation/config comments to align with the actual markdownlint rule meanings and current config globs, keeping the template's shared linting guidance consistent for downstream derived repos.

Changes:

  • Update AGENTS.md to reference the documented Docker invocation for markdownlint-cli2 when doing first-time --fix adoption.
  • Correct the MD060 comment in .markdownlint-cli2.jsonc to accurately describe that table column/pipe spacing style is intentionally not enforced.
  • Adjust the .editorconfig section header to reflect that it now targets both .json and .jsonc.

Reviewed changes

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

File Description
AGENTS.md Aligns first-adoption markdownlint --fix guidance with the documented Docker invocation section.
.markdownlint-cli2.jsonc Fixes the MD060 explanatory comment to match the rule's actual purpose (table column style).
.editorconfig Updates the JSON header comment to match the {json,jsonc} glob.

@ptr727
ptr727 requested a review from Copilot June 8, 2026 16:44
@ptr727
ptr727 merged commit 2d26b03 into develop Jun 8, 2026
9 checks passed

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 3 out of 3 changed files in this pull request and generated no new comments.

@ptr727
ptr727 deleted the fix-config-comments-from-review branch July 7, 2026 21:05
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