Skip to content

Commit 926179a

Browse files
committed
Add shell code block annotations.
1 parent 4543017 commit 926179a

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@ Requires:
2222
- eslint v9
2323

2424
If you do not have eslint installed:
25-
```
25+
```sh
2626
npm i -D eslint
2727
npm i -D @digitalbazaar/eslint-config
2828
```
2929

3030
To start an eslint config file:
31-
```
31+
```sh
3232
npx eslint --init
3333
```
3434
or rename a template from the templates dir
35-
```
35+
```sh
3636
cp node_modules/@digitalbazaar/eslint-config/templates/node-recommended.js ./eslint.config.js
3737
```
3838

@@ -44,22 +44,22 @@ dependencies in this package. A future version may provide alternative packages
4444
with appropriate dependencies.
4545

4646
Dependencies for jsdoc checks:
47-
```
47+
```sh
4848
npm i -D eslint-plugin-jsdoc
4949
```
5050

5151
Dependencies for module and node checks:
52-
```
52+
```sh
5353
npm i -D eslint-plugin-unicorn
5454
```
5555

5656
Dependencies for vue checks:
57-
```
57+
```sh
5858
npm i -D eslint-plugin-vue
5959
```
6060

6161
Dependencies for vue checks when using `legacy-peer-deps=true`:
62-
```
62+
```sh
6363
npm i -D vue-eslint-parser
6464
```
6565

@@ -90,7 +90,7 @@ dependencies must be manually installed when using recommended configs.
9090
To use the `import` plugin rules you need to install
9191
[`eslint-plugin-import`](https://github.com/import-js/eslint-plugin-import):
9292

93-
```
93+
```sh
9494
npm i -D eslint-plugin-import
9595
```
9696

@@ -111,7 +111,7 @@ When using the recommended configs, or to use the JSDoc rules standalone, you
111111
need to install
112112
[`eslint-plugin-jsdoc`](https://github.com/gajus/eslint-plugin-jsdoc):
113113

114-
```
114+
```sh
115115
npm i -D eslint-plugin-jsdoc
116116
```
117117

@@ -131,7 +131,7 @@ export default [
131131
When using the recommended configs, or to use the ES module rules standalone,
132132
you need to install
133133
[`eslint-plugin-unicorn`](https://github.com/sindresorhus/eslint-plugin-unicorn):
134-
```
134+
```sh
135135
npm i -D eslint-plugin-unicorn
136136
```
137137

@@ -149,7 +149,7 @@ export default [
149149
### Vue 3
150150

151151
To use the Vue 3 rules you will need to install [`eslint-plugin-vue`](https://eslint.vuejs.org/):
152-
```
152+
```sh
153153
npm i -D eslint-plugin-vue
154154
```
155155

@@ -194,7 +194,7 @@ Other rules that are not included above but can be useful:
194194
See [`unicorn/prefer-node-protocol`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-node-protocol.md).
195195

196196
Requires:
197-
```
197+
```sh
198198
npm i -D eslint-plugin-unicorn
199199
```
200200

0 commit comments

Comments
 (0)