Skip to content

Commit f0f5e18

Browse files
committed
docs: fix docs for getJsdocProcessorPlugin
1 parent 3ba475e commit f0f5e18

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.README/processors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The approach below works in ESLint 9. For ESLint 7, please see our [`check-examp
99
The approach requires that we first indicate the JavaScript files that will be checked for `@example` tags.
1010

1111
```js
12-
import getJsdocProcessorPlugin from 'eslint-plugin-jsdoc/getJsdocProcessorPlugin.js';
12+
import {getJsdocProcessorPlugin} from 'eslint-plugin-jsdoc/getJsdocProcessorPlugin.js';
1313

1414
export default [
1515
{
@@ -28,7 +28,7 @@ export default [
2828
},
2929
processor: 'examples/examples'
3030
},
31-
],
31+
];
3232
```
3333

3434
Now you can target the JavaScript inside these `@example` or default blocks

docs/processors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The approach below works in ESLint 9. For ESLint 7, please see our [`check-examp
1111
The approach requires that we first indicate the JavaScript files that will be checked for `@example` tags.
1212

1313
```js
14-
import getJsdocProcessorPlugin from 'eslint-plugin-jsdoc/getJsdocProcessorPlugin.js';
14+
import {getJsdocProcessorPlugin} from 'eslint-plugin-jsdoc/getJsdocProcessorPlugin.js';
1515

1616
export default [
1717
{
@@ -30,7 +30,7 @@ export default [
3030
},
3131
processor: 'examples/examples'
3232
},
33-
],
33+
];
3434
```
3535

3636
Now you can target the JavaScript inside these `@example` or default blocks

0 commit comments

Comments
 (0)