Skip to content

Commit

Permalink
chore: remove unneeded eslint disable directives
Browse files Browse the repository at this point in the history
  • Loading branch information
binaryoverload committed Jan 28, 2025
1 parent 233a826 commit bb45491
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
5 changes: 0 additions & 5 deletions src/middleware/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,7 @@ async function auth(request: express.Request, response: express.Response, next:
return serverError(response, discovery);
}

// * This is a false positive from ESLint.
// * Since this middleware is only ever called
// * per every request instance
// eslint-disable-next-line require-atomic-updates
request.pid = pid;
// eslint-disable-next-line require-atomic-updates
request.paramPack = paramPackData;

const userSettings = await getUserSettings(request.pid);
Expand Down
2 changes: 0 additions & 2 deletions test/test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint-disable @typescript-eslint/no-explicit-any */

import crypto from 'node:crypto';
import newman from 'newman';
import { Collection, CollectionDefinition } from 'postman-collection';
Expand Down

0 comments on commit bb45491

Please sign in to comment.