Skip to content

Adopt shared markdownlint config - #732

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

Adopt shared markdownlint config#732
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 #731 - 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 config file is CRLF-governed.

Existing docs already pass cleanly under the shared config (markdownlint-cli2 "**/*.md" = 0 errors).

Not included (maintainer discretion): #731 also suggested aligning the AGENTS.md PR-review section headings to the template's "PR Review Etiquette" / "Expected Review Loop". On inspection this repo already carries the review-loop contract (under "Merging a PR" / "Develop → Main Promotion") and the Copilot runbook in .github/copilot-instructions.md; only the heading names differ. That cosmetic restructuring is left out of this PR to avoid churning maintained docs - can be done separately if desired. Also note: this repo's .editorconfig already has the full per-extension end_of_line rules (the issue's "crlf only under [*.md]" claim was inaccurate), so no EOL-rule change was needed.

Carry the template's .markdownlint-cli2.jsonc verbatim so the davidanson IDE
extension and CLI markdownlint-cli2 apply the same rules, and add jsonc to the
.editorconfig JSON glob so the config file is CRLF-governed. Existing docs
already pass cleanly (0 errors).

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

Copilot AI left a comment

Copy link
Copy Markdown

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 aligns PlexCleaner’s Markdown linting behavior with the shared configuration used by ptr727/ProjectTemplate, ensuring consistent lint results between IDE tooling (markdownlint extension) and CLI/CI usage.

Changes:

  • Add a repository-wide .markdownlint-cli2.jsonc configuration to standardize markdownlint rules.
  • Update .editorconfig to include *.jsonc in the JSON line-ending rules so the new config file follows CRLF expectations.

Reviewed changes

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

File Description
.markdownlint-cli2.jsonc Introduces shared markdownlint-cli2 rule configuration (JSONC) for consistent Markdown linting.
.editorconfig Extends the JSON glob to include jsonc, applying CRLF line endings to the new markdownlint config file.

@ptr727
ptr727 merged commit a3a1c59 into develop Jun 8, 2026
6 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