Skip to content

Commit 14b8d23

Browse files
author
Sue Burt
committed
second pass of --fix
1 parent f25f274 commit 14b8d23

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/server/api/bannerRouter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ import { selectAmountsTestVariant } from '../lib/ab';
1919
import { getDeviceType } from '../lib/deviceType';
2020
import { baseUrl } from '../lib/env';
2121
import type { TickerDataProvider } from '../lib/fetchTickerData';
22+
import { getArticleViewCounts } from '../lib/history';
2223
import type { Params } from '../lib/params';
2324
import { getQueryParams } from '../lib/params';
2425
import { buildBannerCampaignCode } from '../lib/tracking';
2526
import type { BannerDeployTimesProvider } from '../tests/banners/bannerDeployTimes';
2627
import { selectBannerTest } from '../tests/banners/bannerSelection';
27-
import { getArticleViewCounts } from '../lib/history';
2828
import { getDesignForVariant } from '../tests/banners/channelBannerTests';
2929
import type { Debug } from '../tests/epics/epicSelection';
3030
import type { ValueProvider } from '../utils/valueReloader';

src/server/middleware/errorHandling.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const errorHandling = (
77
res: express.Response,
88
// Error handling middleware in Express needs to take 4 arguments in the handler
99
// for it to run when `next()` function is called in the route handler
10-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
10+
1111
next: express.NextFunction,
1212
): void => {
1313
const message = error.message || error.toString();

src/shared/types/props/epic.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ export interface EpicProps {
2121
tracking: Tracking;
2222
countryCode?: string;
2323
articleCounts: ArticleCounts;
24-
// eslint-disable-next-line @typescript-eslint/ban-types
2524
onReminderOpen?: Function;
2625
fetchEmail?: () => Promise<string | null>;
2726
submitComponentEvent?: (componentEvent: OphanComponentEvent) => void;

0 commit comments

Comments
 (0)