Skip to content

Remove markdownlint#522

Open
danbarr wants to merge 4 commits intomainfrom
remove-markdownlint
Open

Remove markdownlint#522
danbarr wants to merge 4 commits intomainfrom
remove-markdownlint

Conversation

@danbarr
Copy link
Collaborator

@danbarr danbarr commented Feb 5, 2026

Description

Removes markdownlint from the project. Since all documentation files are .mdx (which markdownlint doesn't support), it was only linting repo metadata files like README.md.

Changes:

  • Remove markdownlint-cli2 and all .markdownlint*.json config files
  • Remove markdownlint from CI workflow, VS Code extensions, devcontainer, and renovate config
  • Add includeIgnoreFile to ESLint config to respect .gitignore
  • Add proseWrap: never in Prettier for LLM-consumed files (.claude/, AGENTS.md, .github/prompts/) to preserve intentional line breaks
  • Update documentation references

New linting setup:

  • .md files: Prettier only
  • .mdx files: Prettier + ESLint
  • .js, .jsx, .ts, .tsx files: Prettier + ESLint

Type of change

  • Other (tooling)

Submitter checklist

Content and formatting

  • I have reviewed the content for technical accuracy
  • I have reviewed the content for spelling, grammar, and style

danbarr and others added 4 commits February 4, 2026 14:32
- Move proper-names rule from root to docs-specific config so it only
  applies to user-facing documentation, not prompts/skills
- Add proseWrap: never for LLM-consumed files (AGENTS.md, .claude/,
  .github/prompts/) to avoid hard-wrapping prompt content
- Remove .claude/ from prettierignore so basic formatting still applies
- Update markdownlint schema version to match installed version

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Markdownlint doesn't support MDX files so it effectively does nothing
anymore. Attempted to replace it with remark-lint but that caused more
problems than it solved.
Copilot AI review requested due to automatic review settings February 5, 2026 00:34
@vercel
Copy link

vercel bot commented Feb 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs-website Ready Ready Preview, Comment Feb 5, 2026 0:34am

Request Review

Copy link
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 removes markdownlint from the project since all documentation files are .mdx (which markdownlint doesn't support), and it was only linting repository metadata files. The PR consolidates linting to Prettier and ESLint only, simplifying the tooling setup.

Changes:

  • Removed markdownlint-cli2 package and all .markdownlint*.json configuration files
  • Added @eslint/compat package and configured ESLint to respect .gitignore via includeIgnoreFile
  • Configured Prettier with proseWrap: never for LLM-consumed files (.claude/, AGENTS.md, .github/prompts/) to preserve intentional line breaks
  • Updated all references to markdownlint in documentation, CI workflows, editor configurations, and developer tooling

Reviewed changes

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

Show a summary per file
File Description
package.json Removed markdownlint scripts and dependency; added @eslint/compat
package-lock.json Updated lockfile to reflect dependency changes
eslint.config.mjs Added includeIgnoreFile to respect .gitignore; disabled mdx/remark auto-fix
.prettierrc Added proseWrap: never override for LLM-consumed files
.prettierignore Removed .claude/ ignore (now formatted by Prettier)
.lintstagedrc Removed markdownlint from .md file linting pipeline
.markdownlint.json Deleted root markdownlint configuration
.markdownlint-cli2.jsonc Deleted CLI configuration
docs/toolhive/.markdownlint.json Deleted docs-specific configuration
docs/toolhive/_partials/.markdownlint.json Deleted partials-specific configuration
docs/toolhive/reference/cli/.markdownlint.json Deleted CLI reference configuration
.github/workflows/_static-checks.yaml Removed markdownlint CI check
.vscode/extensions.json Removed markdownlint VS Code extension
.devcontainer/devcontainer.json Removed markdownlint extension from devcontainer
renovate.json Updated linter package pattern (removed markdownlint*, added remark-*)
README.md Updated formatting instructions to remove markdownlint references
STYLE-GUIDE.md Removed markdownlint reference and inline disable comment
AGENTS.md Updated linting documentation to reflect new setup
.github/prompts/doc-review.prompt.md Updated linting instructions
.claude/skills/test-docs/SKILL.md Reformatted with proseWrap: never
src/components/ProductCard/README.md Removed inline markdownlint disable comment

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.

1 participant