Skip to content

Commit b39315a

Browse files
committed
fix: linting
1 parent af921f2 commit b39315a

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

src/controllers/user.controller.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import { fetchVelogApi } from '@/modules/velog/velog.api';
88

99
type Token10 = string & { __lengthBrand: 10 };
1010

11-
// eslint-disable-next-line @typescript-eslint/naming-convention
1211
const THREE_WEEKS_IN_MS = 21 * 24 * 60 * 60 * 1000;
1312

1413
export class UserController {

src/repositories/__test__/integration/post.repo.integration.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ describe('PostRepository 통합 테스트', () => {
1919
let repo: PostRepository;
2020

2121
// 테스트에 사용할 기본 데이터 ID
22-
// eslint-disable-next-line @typescript-eslint/naming-convention
2322
const TEST_DATA = {
2423
USER_ID: 1,
2524
POST_ID: 2445,

src/repositories/leaderboard.repository.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,10 @@ export class LeaderboardRepository {
8585
// 오늘 날짜와 기준 날짜의 통계를 가져오는 CTE(임시 결과 집합) 쿼리 빌드
8686
private buildLeaderboardCteQuery(dateRange: number, pastDateKST?: string) {
8787
// KST 기준 00시~01시 (UTC 15:00~16:00) 사이라면 전날 데이터를 사용
88-
const nowDateKST = new Date().getUTCHours() === 15
89-
? getKSTDateStringWithOffset(-24 * 60) // 전날 데이터
90-
: getCurrentKSTDateString();
88+
const nowDateKST =
89+
new Date().getUTCHours() === 15
90+
? getKSTDateStringWithOffset(-24 * 60) // 전날 데이터
91+
: getCurrentKSTDateString();
9192

9293
if (!pastDateKST) {
9394
pastDateKST = getKSTDateStringWithOffset(-dateRange * 24 * 60);

0 commit comments

Comments
 (0)