Skip to content

Commit 07df2a6

Browse files
committed
prettier:write 스크립트 실행
1 parent d2c6e41 commit 07df2a6

3 files changed

Lines changed: 7 additions & 10 deletions

File tree

src/scripts/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ document.addEventListener('DOMContentLoaded', async () => {
5757
trackException(
5858
appInsights,
5959
error as Error,
60-
'DOMContentLoaded.initializePage',
60+
'DOMContentLoaded.initializePage'
6161
);
6262
console.error('❌ main.ts: DOMContentLoaded : 페이지 초기화 실패!', error);
6363
}

src/scripts/monitoring/app-insights.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export function initializeAppInsights(): ApplicationInsights | null {
2424

2525
if (!connectionString) {
2626
console.warn(
27-
'⚠️ VITE_APPINSIGHTS_CONNECTION_STRING not set. Monitoring disabled.',
27+
'⚠️ VITE_APPINSIGHTS_CONNECTION_STRING not set. Monitoring disabled.'
2828
);
2929
return null;
3030
}
@@ -64,9 +64,7 @@ export function initializeAppInsights(): ApplicationInsights | null {
6464
*
6565
* @param appInsights - App Insights 인스턴스
6666
*/
67-
export function setupWebVitalsTracking(
68-
appInsights: ApplicationInsights,
69-
): void {
67+
export function setupWebVitalsTracking(appInsights: ApplicationInsights): void {
7068
const sendVital = (metric: Metric) => {
7169
try {
7270
appInsights.trackMetric({
@@ -112,7 +110,7 @@ export function trackPageView(appInsights: ApplicationInsights): void {
112110
export function trackException(
113111
appInsights: ApplicationInsights | null,
114112
error: Error,
115-
location: string,
113+
location: string
116114
): void {
117115
if (!appInsights) return;
118116

tests/types/global.d.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@
66
import type { DOMWindow } from 'jsdom';
77

88
declare global {
9-
// eslint-disable-next-line no-var
109
var window: DOMWindow;
11-
// eslint-disable-next-line no-var
10+
1211
var document: Document;
13-
// eslint-disable-next-line no-var
12+
1413
var HTMLElement: typeof HTMLElement;
15-
// eslint-disable-next-line no-var
14+
1615
var customElements: CustomElementRegistry;
1716
}
1817

0 commit comments

Comments
 (0)