Skip to content

Commit a2d2516

Browse files
committed
chore: eslint fix
1 parent 9012a8a commit a2d2516

File tree

7 files changed

+14
-172
lines changed

7 files changed

+14
-172
lines changed

.eslintrc.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
{
2-
"extends": ["next/core-web-vitals"]
2+
"extends": ["next/core-web-vitals"],
3+
"rules": {
4+
"react/no-unescaped-entities": ["error", {
5+
"forbid": [">", "<", "}"]
6+
}],
7+
"react-hooks/exhaustive-deps": "off"
8+
}
39
}

.intlayer/config/configuration.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
".expo",
4242
"dist"
4343
],
44-
"watch": true,
44+
"watch": false,
4545
"contentDir": [
4646
"/Users/henrycho/repo_personal/blog"
4747
],
@@ -97,7 +97,7 @@
9797
},
9898
"ai": {},
9999
"build": {
100-
"optimize": false,
100+
"optimize": true,
101101
"importMode": "static",
102102
"traversePattern": [
103103
"**/*.{js,ts,mjs,cjs,jsx,tsx,mjx,cjx,vue,svelte,svte}",

.intlayer/dictionary/page.json

Lines changed: 1 addition & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1 @@
1-
{
2-
"key": "page",
3-
"content": {
4-
"home": {
5-
"title": {
6-
"nodeType": "translation",
7-
"translation": {
8-
"en": "Home",
9-
"ko": ""
10-
}
11-
}
12-
},
13-
"posts": {
14-
"title": {
15-
"nodeType": "translation",
16-
"translation": {
17-
"en": "Posts",
18-
"ko": ""
19-
}
20-
}
21-
},
22-
"about": {
23-
"title": {
24-
"nodeType": "translation",
25-
"translation": {
26-
"en": "About",
27-
"ko": "소개"
28-
}
29-
}
30-
},
31-
"projects": {
32-
"title": {
33-
"nodeType": "translation",
34-
"translation": {
35-
"en": "Projects",
36-
"ko": "프로젝트"
37-
}
38-
}
39-
},
40-
"github": {
41-
"title": {
42-
"nodeType": "translation",
43-
"translation": {
44-
"en": "GitHub",
45-
"ko": "깃허브"
46-
}
47-
}
48-
},
49-
"chat": {
50-
"title": {
51-
"nodeType": "translation",
52-
"translation": {
53-
"en": "Chat",
54-
"ko": "채팅"
55-
}
56-
}
57-
}
58-
}
59-
}
1+
{"key":"page","content":{"home":{"title":{"nodeType":"translation","translation":{"en":"Home","ko":""}}},"posts":{"title":{"nodeType":"translation","translation":{"en":"Posts","ko":""}}},"about":{"title":{"nodeType":"translation","translation":{"en":"About","ko":"소개"}}},"projects":{"title":{"nodeType":"translation","translation":{"en":"Projects","ko":"프로젝트"}}},"github":{"title":{"nodeType":"translation","translation":{"en":"GitHub","ko":"깃허브"}}},"chat":{"title":{"nodeType":"translation","translation":{"en":"Chat","ko":"채팅"}}}}}
Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1 @@
1-
{
2-
"key": "page",
3-
"content": {
4-
"home": {
5-
"title": "Home"
6-
},
7-
"posts": {
8-
"title": "Posts"
9-
},
10-
"about": {
11-
"title": "About"
12-
},
13-
"projects": {
14-
"title": "Projects"
15-
},
16-
"github": {
17-
"title": "GitHub"
18-
},
19-
"chat": {
20-
"title": "Chat"
21-
}
22-
},
23-
"locale": "en"
24-
}
1+
{"key":"page","content":{"home":{"title":"Home"},"posts":{"title":"Posts"},"about":{"title":"About"},"projects":{"title":"Projects"},"github":{"title":"GitHub"},"chat":{"title":"Chat"}},"locale":"en"}
Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1 @@
1-
{
2-
"key": "page",
3-
"content": {
4-
"home": {
5-
"title": ""
6-
},
7-
"posts": {
8-
"title": ""
9-
},
10-
"about": {
11-
"title": "소개"
12-
},
13-
"projects": {
14-
"title": "프로젝트"
15-
},
16-
"github": {
17-
"title": "깃허브"
18-
},
19-
"chat": {
20-
"title": "채팅"
21-
}
22-
},
23-
"locale": "ko"
24-
}
1+
{"key":"page","content":{"home":{"title":""},"posts":{"title":""},"about":{"title":"소개"},"projects":{"title":"프로젝트"},"github":{"title":"깃허브"},"chat":{"title":"채팅"}},"locale":"ko"}
Lines changed: 1 addition & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1 @@
1-
[
2-
{
3-
"key": "page",
4-
"content": {
5-
"home": {
6-
"title": {
7-
"nodeType": "translation",
8-
"translation": {
9-
"en": "Home",
10-
"ko": ""
11-
}
12-
}
13-
},
14-
"posts": {
15-
"title": {
16-
"nodeType": "translation",
17-
"translation": {
18-
"en": "Posts",
19-
"ko": ""
20-
}
21-
}
22-
},
23-
"about": {
24-
"title": {
25-
"nodeType": "translation",
26-
"translation": {
27-
"en": "About",
28-
"ko": "소개"
29-
}
30-
}
31-
},
32-
"projects": {
33-
"title": {
34-
"nodeType": "translation",
35-
"translation": {
36-
"en": "Projects",
37-
"ko": "프로젝트"
38-
}
39-
}
40-
},
41-
"github": {
42-
"title": {
43-
"nodeType": "translation",
44-
"translation": {
45-
"en": "GitHub",
46-
"ko": "깃허브"
47-
}
48-
}
49-
},
50-
"chat": {
51-
"title": {
52-
"nodeType": "translation",
53-
"translation": {
54-
"en": "Chat",
55-
"ko": "채팅"
56-
}
57-
}
58-
}
59-
},
60-
"filePath": "/Users/henrycho/repo_personal/blog/src/app/[locale]/page.content.ts"
61-
}
62-
]
1+
[{"key":"page","content":{"home":{"title":{"nodeType":"translation","translation":{"en":"Home","ko":""}}},"posts":{"title":{"nodeType":"translation","translation":{"en":"Posts","ko":""}}},"about":{"title":{"nodeType":"translation","translation":{"en":"About","ko":"소개"}}},"projects":{"title":{"nodeType":"translation","translation":{"en":"Projects","ko":"프로젝트"}}},"github":{"title":{"nodeType":"translation","translation":{"en":"GitHub","ko":"깃허브"}}},"chat":{"title":{"nodeType":"translation","translation":{"en":"Chat","ko":"채팅"}}}},"filePath":"/Users/henrycho/repo_personal/blog/src/app/[locale]/page.content.ts"}]

src/components/hooks/use-resize-handler.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const getWidth = () =>
99
const useResizeHandler = (interval = 250) => {
1010
const [windowWidth, setWindowWidth] = useState<number>(0);
1111
const [isMounted, setIsMounted] = useState<boolean>(false);
12+
1213
useEffect(() => {
1314
if (typeof window !== 'undefined') {
1415
setIsMounted(true);

0 commit comments

Comments
 (0)