Skip to content

feat: Add mdformat plugin#2637

Closed
marschattha wants to merge 1 commit intomainfrom
ma/add_mdformat_plugin
Closed

feat: Add mdformat plugin#2637
marschattha wants to merge 1 commit intomainfrom
ma/add_mdformat_plugin

Conversation

@marschattha
Copy link
Copy Markdown
Member

Generated using add plugin claude command in #2636

Copilot AI review requested due to automatic review settings January 19, 2026 20:58
@github-actions
Copy link
Copy Markdown
Contributor

No issue mentions found. Please mention an issue in the pull request description.

Use GitHub automation to close the issue when a PR is merged

@marschattha marschattha changed the title Add mdformat plugin feat: Add mdformat plugin Jan 19, 2026
@marschattha marschattha requested a review from brynary January 19, 2026 20:59
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 adds a new mdformat plugin to enable CommonMark-compliant Markdown formatting in Qlty. The plugin integrates mdformat as a Python-based formatter with standard test fixtures and documentation.

Changes:

  • Added plugin configuration defining mdformat as a Python-based formatter for Markdown files
  • Created test infrastructure with fixtures and snapshot expectations
  • Added comprehensive README with usage instructions and licensing information

Reviewed changes

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

Show a summary per file
File Description
qlty-plugins/plugins/linters/mdformat/plugin.toml Defines the mdformat plugin configuration with runtime, versions, and formatter driver settings
qlty-plugins/plugins/linters/mdformat/mdformat.test.ts Implements standard linter test integration using the test framework
qlty-plugins/plugins/linters/mdformat/fixtures/basic.in.md Provides test fixture with intentionally malformatted Markdown for testing
qlty-plugins/plugins/linters/mdformat/fixtures/snapshots/basic_v1.0.0.shot Contains expected test output snapshot for version 1.0.0
qlty-plugins/plugins/linters/mdformat/README.md Documents plugin usage, configuration options, and external links

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@qltysh
Copy link
Copy Markdown
Contributor

qltysh bot commented Jan 19, 2026

Qlty

Coverage Impact - ubuntu-latest

This PR will not change total coverage.

🚦 See full report on Qlty Cloud »

🛟 Help
  • Diff Coverage: Coverage for added or modified lines of code (excludes deleted files). Learn more.

  • Total Coverage: Coverage for the whole repository, calculated as the sum of all File Coverage. Learn more.

  • File Coverage: Covered Lines divided by Covered Lines plus Missed Lines. (Excludes non-executable lines including blank lines and comments.)

    • Indirect Changes: Changes to File Coverage for files that were not modified in this PR. Learn more.

@qltysh
Copy link
Copy Markdown
Contributor

qltysh bot commented Jan 19, 2026

Qlty

Coverage Impact - macos-15

⬇️ Merging this pull request will decrease total coverage on main by 0.01%.

🚦 See full report on Qlty Cloud »

🛟 Help
  • Diff Coverage: Coverage for added or modified lines of code (excludes deleted files). Learn more.

  • Total Coverage: Coverage for the whole repository, calculated as the sum of all File Coverage. Learn more.

  • File Coverage: Covered Lines divided by Covered Lines plus Missed Lines. (Excludes non-executable lines including blank lines and comments.)

    • Indirect Changes: Changes to File Coverage for files that were not modified in this PR. Learn more.

@brynary brynary closed this Jan 20, 2026
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.

3 participants