Skip to content

Commit

Permalink
prefer-node-protocol: Fix docs (#2392)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann authored Jun 26, 2024
1 parent 68e0f13 commit 1deb9bb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/rules/prefer-node-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ export {strict as default} from 'assert';
import fs from 'fs/promises';
```

```js
const fs = require('fs');
```

```js
const fs = require('fs/promises');
```
Expand All @@ -47,10 +51,6 @@ export {strict as default} from 'node:assert';
import fs from 'node:fs/promises';
```

```js
const fs = require('fs');
```

```js
import _ from 'lodash';
```
Expand Down

0 comments on commit 1deb9bb

Please sign in to comment.