# @markuplint/rule-textlint

> The rule plugin that adapts textlint in markuplint

Latest version **4.18.3** (published 2026-05-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install @markuplint/rule-textlint
pnpm add @markuplint/rule-textlint
yarn add @markuplint/rule-textlint
bun add @markuplint/rule-textlint
```

## Health

**Score 60/100 (C)** — status: active.

Positive: esm support; no vulnerabilities; has provenance; high maintenance score.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 4.18.3 |
| Published | 2026-05-10 |
| First published | 2019-11-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Dependencies | 3 |
| Unpacked size | 12 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 627 |
| Author | Yusuke Hirao |
| Maintainers | yusukehirao |

## Links

- npm: https://www.npmjs.com/package/@markuplint/rule-textlint
- Repository: https://github.com/markuplint/markuplint
- Homepage: https://github.com/markuplint/markuplint#readme
- Issues: https://github.com/markuplint/markuplint/issues
- npm.io page: https://npm.io/package/@markuplint/rule-textlint

## Dependencies (3)

- [@textlint/kernel](https://npm.io/package/@textlint/kernel.md) 15.5.4
- [@markuplint/ml-core](https://npm.io/package/@markuplint/ml-core.md) 4.18.3
- [textlint-plugin-html](https://npm.io/package/textlint-plugin-html.md) 1.0.1

## Recent versions

- 4.18.3 (latest) — 2026-05-10
- 4.18.4 (v4) — 2026-10-22
- 4.7.19-dev.110 (canary) — 2025-04-13
- 4.7.4-alpha.1 (next) — 2024-06-02
- 3.0.0-alpha.27 (dev) — 2022-12-20
- 1.0.0-rc.1 (rc) — 2022-01-12
- 4.18.1 — 2026-04-24
- 4.18.0 — 2026-04-22
- 4.7.23 — 2026-02-10
- 4.7.22 — 2025-11-05
- 4.7.21 — 2025-08-24
- 4.7.20 — 2025-08-13
- 4.7.19 — 2025-04-13
- 4.7.18 — 2025-03-09
- 4.7.17 — 2025-02-27
- … 222 more at https://npm.io/package/@markuplint/rule-textlint/versions

## README

# @markuplint/rule-textlint

[![npm version](https://badge.fury.io/js/%40markuplint%2Frule-textlint.svg)](https://www.npmjs.com/package/@markuplint/rule-textlint)

The rule plugin that adapts [**textlint**](https://github.com/textlint/textlint) in **markuplint**

## Install

```shell
$ npm install -D @markuplint/rule-textlint

$ yarn add -D @markuplint/rule-textlint
```

## Usage

### Example

```shell
$ yarn add -D textlint-rule-prh
```

#### Load `.textlintrc.*` config automatically

```json .markuplintrc
{
  "rules": {
    "textlint": true
  }
}
```

```json .textlintrc
{
  // `html` plugin will be used automatically by `markuplint`
  // but make sure to enable it manually
  // if you are using `textlint` as cli at the same time
  // "plugins": ["html"],
  "rules": {
    "prh": {
      "rulePaths": ["../prh.yml"]
    }
  }
}
```

#### Use independent textlint config

```js markuplint.config.js
import path from 'node:path';
import { fileURLToPath } from 'node:url';

import Prh from 'textlint-rule-prh';

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);

export default {
  rules: {
    textlint: {
      options: {
        rules: [
          {
            ruleId: 'prh',
            rule: Prh,
            options: {
              rulePaths: [path.resolve(__dirname, '..', 'prh.yml')],
            },
          },
        ],
      },
    },
  },
};
```

---
_Source: https://npm.io/package/@markuplint/rule-textlint · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
