Skip to content

Commit 1104948

Browse files
author
Peter Bengtsson
authored
docs: Don't use $ prefix in Bash examples (#8067)
On https://tanstack.com/query/latest/docs/framework/react/installation for example, the Bash snippets do *not* have a leading `$` character. So you can click the clipboard and then paste these into your terminal. Doesn't work if there's a `$ ` prefix on the bash command.
1 parent 034eb52 commit 1104948

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/eslint/eslint-plugin-query.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,25 @@ TanStack Query comes with its own ESLint plugin. This plugin is used to enforce
1010
The plugin is a separate package that you need to install:
1111

1212
```bash
13-
$ npm i -D @tanstack/eslint-plugin-query
13+
npm i -D @tanstack/eslint-plugin-query
1414
```
1515

1616
or
1717

1818
```bash
19-
$ pnpm add -D @tanstack/eslint-plugin-query
19+
pnpm add -D @tanstack/eslint-plugin-query
2020
```
2121

2222
or
2323

2424
```bash
25-
$ yarn add -D @tanstack/eslint-plugin-query
25+
yarn add -D @tanstack/eslint-plugin-query
2626
```
2727

2828
or
2929

3030
```bash
31-
$ bun add -D @tanstack/eslint-plugin-query
31+
bun add -D @tanstack/eslint-plugin-query
3232
```
3333

3434
## Flat Config (`eslint.config.js`)

0 commit comments

Comments
 (0)