Skip to content

Commit

Permalink
Fix lint and tweak eslint error message
Browse files Browse the repository at this point in the history
  • Loading branch information
TooTallNate committed Sep 8, 2023
1 parent 523b74c commit 43a9689
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.js
Expand Up @@ -20,7 +20,7 @@ module.exports = {
'no-restricted-globals': [
'error',
// https://github.com/TooTallNate/proxy-agents/pull/242
{ name: 'URL', message: 'Use url.URL instead' },
{ name: 'URL', message: 'Use `URL` from the Node.js "url" module instead.' },
],
},
},
Expand Down
1 change: 1 addition & 0 deletions packages/pac-proxy-agent/test/test.ts
Expand Up @@ -2,6 +2,7 @@ import assert from 'assert';
import * as fs from 'fs';
import * as http from 'http';
import * as https from 'https';
import { URL } from 'url';
// @ts-expect-error no types
import socks from 'socksv5';
import { listen } from 'async-listen';
Expand Down

1 comment on commit 43a9689

@vercel
Copy link

@vercel vercel bot commented on 43a9689 Sep 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.