Skip to content

Commit

Permalink
chore: requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vladfrangu committed Oct 2, 2023
1 parent bde6510 commit 96795c5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 12 deletions.
11 changes: 2 additions & 9 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,8 @@
"project": "tsconfig.eslint.json",
"ecmaVersion": 2022
},
"overrides": [
{
"files": ["./test/**/*.ts"],
"rules": {
"@typescript-eslint/no-explicit-any": "off"
}
}
],
"rules": {
"@typescript-eslint/no-explicit-any": "warn"
"@typescript-eslint/no-explicit-any": "off",
"no-void": "off"
}
}
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"types": "./dist/index.d.ts",
"type": "module",
"dependencies": {
"got": "13.0.0",
"got": "^13.0.0",
"header-generator": "^2.1.41",
"http2-wrapper": "^2.2.0",
"mimic-response": "^4.0.0",
Expand Down
1 change: 0 additions & 1 deletion src/resolve-protocol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ const connect = async (proxyUrl: string, options: tls.ConnectionOptions, callbac
host = `[${options.host}]:${options.port}`;
}

// eslint-disable-next-line no-void
void (async () => {
try {
const headers: Headers = {
Expand Down
1 change: 1 addition & 0 deletions test/alpn.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ describe('ALPN negotiation', () => {

await proxyPromise;

// eslint-disable-next-line no-console
console.log('dns', dnsQueries);
expect(dnsQueries.includes('api.apify.com')).toBe(false);

Expand Down

0 comments on commit 96795c5

Please sign in to comment.