Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions eslint-suppressions.json
Original file line number Diff line number Diff line change
Expand Up @@ -1560,24 +1560,6 @@
"count": 3
}
},
"packages/notification-services-controller/src/NotificationServicesController/services/perp-notifications.ts": {
"@typescript-eslint/explicit-function-return-type": {
"count": 1
},
"id-length": {
"count": 1
}
},
"packages/notification-services-controller/src/NotificationServicesController/types/notification-api/notification-api.ts": {
"@typescript-eslint/naming-convention": {
"count": 18
}
},
"packages/notification-services-controller/src/NotificationServicesController/types/notification-api/schema.ts": {
"@typescript-eslint/naming-convention": {
"count": 70
}
},
"packages/phishing-controller/src/BulkTokenScan.test.ts": {
"@typescript-eslint/explicit-function-return-type": {
"count": 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const PERPS_API_CREATE_ORDERS = `${PERPS_API}/api/v1/orders`;
export async function createPerpOrderNotification(
bearerToken: string,
orderInput: OrderInput,
) {
): Promise<void> {
try {
await createServicePolicy().execute(async () => {
return successfulFetch(PERPS_API_CREATE_ORDERS, {
Expand All @@ -29,7 +29,7 @@ export async function createPerpOrderNotification(
body: JSON.stringify(orderInput),
});
});
} catch (e) {
console.error('Failed to create perp order notification', e);
} catch (error) {
console.error('Failed to create perp order notification', error);
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Types derived from external Notification API schema - naming follows API conventions
/* eslint-disable @typescript-eslint/naming-convention */
import type { components } from './schema';
import type { TRIGGER_TYPES } from '../../constants/notification-schema';
import type { Compute } from '../type-utils';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/* eslint-disable jsdoc/tag-lines */
// Auto-generated from OpenAPI spec - naming follows API schema conventions
/* eslint-disable @typescript-eslint/naming-convention */

/**
* This file was auto-generated by openapi-typescript.
Expand Down