Catalog npm
Back to packageRELEASE DETAILS

0.2.1

npm

@0x6b/textlint-rule-no-numbered-headings-and-bullets

textlint rule which detects and reports numbered headings and bullet list items.

bulletheadinglistnumberingtextlintrule
Published20 Sept 2026
Direct dependencies9
Transitive dependenciesNot calculated

README

Current package documentation

textlint-rule-no-numbered-headings-and-bullets

textlint rule which detects and reports numbered headings and bullet list items in your markdown document.

This rule prevents the use of numbered prefixes (like 1., 2., etc.) in:

  • ATX-style markdown headings (e.g., # 1. First Heading)
  • Bullet list items, including nested/indented lists (e.g., - 1. First item)
  • Headings with inline formatting (e.g., # 1. **Bold** Heading)

Note: Only ATX-style headings (# Heading) are supported. Setext-style headings with underlines (Heading\n=====) cannot be detected.

Install

Install with pnpm:

pnpm add @0x6b/textlint-rule-no-numbered-headings-and-bullets

Or with npm:

npm install @0x6b/textlint-rule-no-numbered-headings-and-bullets

This module requires Node.js >= 24.0.0 (LTS).

Usage

Via .textlintrc(recommended):

{
  "rules": {
    "@0x6b/no-numbered-headings-and-bullets": true
  }
}

Via CLI:

textlint --rule @0x6b/no-numbered-headings-and-bullets README.md

Options

The heading and bullet checks can be enabled or disabled independently. Both are enabled by default.

{
  "rules": {
    "@0x6b/no-numbered-headings-and-bullets": {
      "header": true,
      "bullet": false
    }
  }
}
  • header (boolean, default: true): Check ATX-style headings.
  • bullet (boolean, default: true): Check bullet list items.

Build

Builds source codes for publish to the lib/ folder.

pnpm install && pnpm run build

Test

Run test code in test folder by textlint-tester.

pnpm test

References

License

MIT © 0x6b

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 9

Native requirements
9 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
husky
Environment
{
  "local_name": "husky",
  "alias": false,
  "peer_metadata": null
}
^9.1.7development
ts-node
Environment
{
  "local_name": "ts-node",
  "alias": false,
  "peer_metadata": null
}
^10.9.2development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
^7.0.2development
@types/node
Environment
{
  "local_name": "@types/node",
  "alias": false,
  "peer_metadata": null
}
^24.13.6development
lint-staged
Environment
{
  "local_name": "lint-staged",
  "alias": false,
  "peer_metadata": null
}
^17.5.1development
@biomejs/biome
Environment
{
  "local_name": "@biomejs/biome",
  "alias": false,
  "peer_metadata": null
}
^2.5.14development
@textlint/types
Environment
{
  "local_name": "@textlint/types",
  "alias": false,
  "peer_metadata": null
}
^15.8.0development
textlint-tester
Environment
{
  "local_name": "textlint-tester",
  "alias": false,
  "peer_metadata": null
}
^15.8.0development
textlint-scripts
Environment
{
  "local_name": "textlint-scripts",
  "alias": false,
  "peer_metadata": null
}
^15.8.0development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "90a9f97dc910d1395cb9754a1dfc19228311861e",
  "tarball": "https://registry.npmjs.org/@0x6b/textlint-rule-no-numbered-headings-and-bullets/-/textlint-rule-no-numbered-headings-and-bullets-0.2.1.tgz",
  "fileCount": 3,
  "integrity": "sha512-lScMvaaAPSneeWFaP1milUNHncCPp2RIwyLKTUZlGRU4b5TmFREucD316ayQhePtlp7dOpjXbJJiz8Tl5zLMQg==",
  "signatures": [
    {
      "sig": "MEUCIQCaC468Bwyx0/qoPaniFDfDGHn6/Aamjkf1/VbWskfg2wIgQuuH9wzJoM9Q58kx9yUHgt8BarW0yEtlqhVT+fF7VRg=",
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
    },
    {
      "sig": "MEQCIB0f1a5Sm1ILky+rA0TsYtcrifQ6UOO5SsOZ6m9wntHrAiAjaHu68KAMkVyposhl8YnVYqc0qwNxi8QV2WW4VQrUkw==",
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
    }
  ],
  "unpackedSize": 5136
}

Repository

PENDING
0x6b/textlint-rule-no-numbered-headings-and-bullets

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:38 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:a9e8274dd1de20da806552ab30307228a75f0802cc4d68ef8fe4073e113c2da7

Other collected versions

0.2.220 Sept0.2.026 Nov0.1.06 NovView all collected versions →