Esc

COMARK1308 · warning

comark/tabs/no-manager-form

Write npm2yarn commands every package manager has

An npm2yarn block is written in npm and gets a tab for each package manager. Some npm commands, such as npm ci or npm update, have no form in another manager, so that manager's tab is left out and readers who use it see only npm's.

Incorrect

```sh npm2yarn
npm ci
```
md
lint-comark example.mdexample.md:1:1 comark/tabs/no-manager-formnpm2yarn block 1: npm ci has no pnpm, yarn, or bun form, so those tabs are left out.Write the block as a ::code-group{sync="pm"} by hand.✖ 1 problem

Correct

::code-group{sync="pm"}
```sh [npm]
npm ci
```

```sh [pnpm]
pnpm install --frozen-lockfile
```
::
md
lint-comark example.md✔ No problems