Skip to content

Adopt shared markdownlint config and lint-clean docs#162

Merged
ptr727 merged 1 commit into
developfrom
realign-template-lint-config
Jun 8, 2026
Merged

Adopt shared markdownlint config and lint-clean docs#162
ptr727 merged 1 commit into
developfrom
realign-template-lint-config

Conversation

@ptr727

@ptr727 ptr727 commented Jun 8, 2026

Copy link
Copy Markdown
Owner

Part of #160 - realign with ptr727/ProjectTemplate.

  • Carry the template's .markdownlint-cli2.jsonc verbatim, so the davidanson markdownlint IDE extension and CLI/CI markdownlint-cli2 apply the same rules.
  • Add jsonc to the .editorconfig [*.{json,jsonc}] glob so the new config file is CRLF-governed (matches the template).
  • Normalize blank lines around headings/fences/lists in .github/copilot-instructions.md and label one fenced block, so the repo passes cleanly under the shared config (markdownlint-cli2 "**/*.md" = 0 errors).

Note: this repo's .editorconfig already carries the full per-extension end_of_line rules (the realignment issue's "crlf only under [*.md]" claim was inaccurate on inspection), so no EOL-rule change was needed beyond the jsonc glob. The remaining item in #160 - renaming the Develop/Main rulesets to lowercase develop/main - is a repo-settings change handled separately.

Carry the template's .markdownlint-cli2.jsonc verbatim so the davidanson IDE
extension and CLI markdownlint-cli2 agree, and add jsonc to the .editorconfig
JSON glob so the config file is CRLF-governed. Normalize blank lines around
headings/fences/lists in copilot-instructions.md and label one fenced block so
the repo passes cleanly under the shared config (0 errors).

Realigns with ptr727/ProjectTemplate. Part of #160.
Copilot AI review requested due to automatic review settings June 8, 2026 15:37

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 realigns the repository’s Markdown linting and formatting rules with the shared template conventions by introducing a common markdownlint-cli2 configuration and adjusting existing docs/config to pass linting cleanly.

Changes:

  • Added a repository-wide .markdownlint-cli2.jsonc to standardize Markdown lint rules between IDE and CLI/CI.
  • Updated .editorconfig to apply CRLF rules to both .json and .jsonc files.
  • Normalized Markdown spacing and labeled a previously-unlabeled fenced block in .github/copilot-instructions.md to satisfy the shared markdownlint rules.

Reviewed changes

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

File Description
.markdownlint-cli2.jsonc Introduces shared markdownlint-cli2 configuration (with JSONC comments) to keep IDE/CLI rules aligned.
.editorconfig Extends the JSON EOL rule to include JSONC files via [*.{json,jsonc}].
.github/copilot-instructions.md Markdown formatting adjustments (blank lines/fence labeling) to lint cleanly under the shared markdownlint config.

@ptr727 ptr727 merged commit c7c073d into develop Jun 8, 2026
8 checks passed
@ptr727 ptr727 deleted the realign-template-lint-config branch July 7, 2026 21:06
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