Skip to content

Commit d1b0726

Browse files
committed
Handle eslint no-redeclare issues
1 parent 0097bf7 commit d1b0726

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

lib/front-end-builds-notifier.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
const CoreObject = require('core-object');
22
const fs = require('fs');
3+
4+
// crypto is globally available in Node.js 18, so at some stage we should consider
5+
// accessing directly rather than the require syntax below.
6+
// eslint-disable-next-line no-redeclare
37
const crypto = require('crypto');
8+
49
const { execSync } = require('child_process');
10+
11+
// fetch is built into Node.js 18, so at some stage we should consider
12+
// removing this dependency.
13+
// eslint-disable-next-line no-redeclare
514
const fetch = require('node-fetch');
615

716
module.exports = CoreObject.extend({

0 commit comments

Comments
 (0)