npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@acme-skunkworks/markdownlint-config

v2.0.0

Published

Shared markdownlint configuration for consistent Markdown formatting

Readme

@acme-skunkworks/markdownlint-config

Shared markdownlint configuration for consistent Markdown formatting across projects.

📦 Installation

npm install --save-dev @acme-skunkworks/markdownlint-config
# or
pnpm add -D @acme-skunkworks/markdownlint-config
# or
yarn add -D @acme-skunkworks/markdownlint-config

🚀 Usage

Option 1: Direct Extension (Recommended)

Create a .markdownlint-cli2.jsonc file in your project root:

{
  "config": {
    "extends": "@acme-skunkworks/markdownlint-config",
  },
  "globs": ["**/*.{md,mdx}", "!**/node_modules/**", "!**/dist/**"],
}

Option 2: Extend in .markdownlint.json

Create or update .markdownlint.json:

{
  "extends": "@acme-skunkworks/markdownlint-config"
}

Note — Resolving extends through this path requires markdownlint-cli2 (its parser stack handles the JSONC comments in the published config). The bare markdownlint library or markdownlint-cli will try JSON.parse on the resolved file and reject the comments. If you're not using cli2, use Option 1 above or copy the rules inline.

Option 3: Package.json Configuration

Add to your package.json:

{
  "markdownlint-cli2": {
    "config": {
      "extends": "@acme-skunkworks/markdownlint-config"
    },
    "globs": ["**/*.{md,mdx}"]
  }
}

🎯 Philosophy

Strict on structure, lenient on prose.

Markdown is two things at once — the structural skeleton of a document (headings, lists, links, tables) and the prose that fills it. This config enforces the first and steps out of the way of the second:

  • Structural rules are enabled. Headings, list numbering, link references, table shape, blank-line conventions around fences and tables — all enforced. These are cheap to get right and the diff noise from violations is high.
  • Prose rules are relaxed. Line length, inline HTML/JSX, fence-language tags, and first-line-heading requirements are off. These create friction in real-world authoring (long URLs in tables, MDX components, plaintext CLI output, fragment files) without delivering proportional value.

Each non-default decision in .markdownlint.jsonc carries an inline rationale — read it for the "why" before tweaking a rule downstream.

📝 Configuration Details

Built on "default": true (every markdownlint rule enabled at stock options) with the following non-default decisions:

Configured rules

  • MD003 — ATX-style headings (# Heading), not Setext (Heading\n===).
  • MD007 — Nested unordered lists indent by 2 spaces (matches Prettier).
  • MD024 — Repeated heading text allowed across non-siblings (siblings_only) — changelogs and per-section API docs need this.
  • MD029 — Ordered lists numbered sequentially (1. 2. 3.), not all-ones.

Disabled rules

  • MD013 (line length) — prose concern; editors handle wrapping.
  • MD033 (inline HTML) — MDX embeds JSX routinely.
  • MD040 (fence language) — friction with pseudo-code and CLI output samples.
  • MD041 (first-line H1) — breaks fragment/partial files designed for embedding.

Notably enabled (formerly disabled)

These were off in v1.0 (carried over from protomolecule) and have been re-enabled — markdownlint --fix resolves all of them mechanically:

  • MD031 (blank lines around fences), MD034 (bare URLs), MD036 (emphasis-as-heading), MD051 (link fragments — fragment resolution improved in markdownlint 0.40), MD052/053 (reference link/image hygiene), MD056/058 (table column count, blank lines around tables).

🛠️ Customization

Override specific rules by extending the configuration:

{
  "config": {
    "extends": "@acme-skunkworks/markdownlint-config",
    "MD013": { "line_length": 100 }, // Re-enable line length with a 100-char limit (off in base).
    "MD041": true, // Re-enable first-line-H1 requirement (off in base — flip it on for top-level docs).
  },
}

📋 NPM Scripts

Add these scripts to your package.json:

{
  "scripts": {
    "lint:md": "markdownlint-cli2",
    "lint:md:fix": "markdownlint-cli2 --fix"
  }
}

Then run:

# Check Markdown files
pnpm lint:md

# Auto-fix issues
pnpm lint:md:fix

🔗 Integration

With Husky and lint-staged

Add to .lintstagedrc.json:

{
  "*.{md,mdx}": ["markdownlint-cli2 --fix"]
}

With VS Code

Install the markdownlint extension and the configuration will be automatically detected.

📖 Rule Reference

For detailed rule documentation, see:

📁 Package Structure

.
├── .markdownlint.jsonc     # Shared configuration (with inline per-rule rationale)
├── package.json
└── README.md

🤝 Contributing

Found an issue or want to suggest a rule change? Please open an issue in the repository.

📄 License

MIT License - see LICENSE file in the root directory.

This software is provided "as is", without warranty of any kind. Use at your own risk.