Skip to content

Commit 964b031

Browse files
authored
Merge pull request #261 from wafflestudio/feat/keyword-review
Feat/keyword review
2 parents 2aae4e3 + b66aa0a commit 964b031

File tree

166 files changed

+15561
-1560
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

166 files changed

+15561
-1560
lines changed

build_output.log

Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
2+
> siksha-web@0.1.0 devbuild
3+
> cross-env NEXT_PUBLIC_NODE_ENV=development next build
4+
5+
⚠ Warning: Found multiple lockfiles. Selecting /home/js1044k/package-lock.json.
6+
Consider removing the lockfiles at:
7+
* /home/js1044k/Siksha-Renewal-Web/package-lock.json
8+
9+
▲ Next.js 15.4.5
10+
- Environments: .env.local
11+
12+
Creating an optimized production build ...
13+
✓ Compiled successfully in 3.0s
14+
Linting and checking validity of types ...
15+
16+
Failed to compile.
17+
18+
./src/app/account/inquiry/page.tsx
19+
21:3 Warning: React Hook useEffect has a missing dependency: 'authGuard'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
20+
21+
./src/app/account/mypost/page.tsx
22+
23:3 Warning: React Hook useEffect has a missing dependency: 'authGuard'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
23+
24+
./src/app/account/page.tsx
25+
24:3 Warning: React Hook useEffect has a missing dependency: 'authGuard'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
26+
27+
./src/app/account/profile/page.tsx
28+
25:3 Warning: React Hook useEffect has a missing dependency: 'authGuard'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
29+
48:6 Warning: React Hook useEffect has a missing dependency: 'userInfo?.nickname'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
30+
31+
./src/app/account/restaurant/favorite/page.tsx
32+
24:3 Warning: React Hook useEffect has a missing dependency: 'authGuard'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
33+
51:6 Warning: React Hook useEffect has missing dependencies: 'favoriteRestaurants', 'onHttpError', 'orderList', and 'setNewOrderList'. Either include them or remove the dependency array. react-hooks/exhaustive-deps
34+
35+
./src/app/account/restaurant/page.tsx
36+
21:3 Warning: React Hook useEffect has a missing dependency: 'authGuard'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
37+
47:6 Warning: React Hook useEffect has missing dependencies: 'onHttpError', 'orderList', and 'setNewOrderList'. Either include them or remove the dependency array. react-hooks/exhaustive-deps
38+
39+
./src/app/account/user/page.tsx
40+
23:6 Warning: React Hook useEffect has missing dependencies: 'authGuard' and 'isLoading'. Either include them or remove the dependency array. react-hooks/exhaustive-deps
41+
42+
./src/app/auth/apple/page.tsx
43+
29:6 Warning: React Hook useEffect has missing dependencies: 'login', 'onHttpError', and 'router'. Either include them or remove the dependency array. react-hooks/exhaustive-deps
44+
45+
./src/app/auth/google/page.tsx
46+
28:6 Warning: React Hook useEffect has missing dependencies: 'login', 'onHttpError', and 'router'. Either include them or remove the dependency array. react-hooks/exhaustive-deps
47+
48+
./src/app/auth/kakao/page.tsx
49+
28:6 Warning: React Hook useEffect has missing dependencies: 'login', 'onHttpError', and 'router'. Either include them or remove the dependency array. react-hooks/exhaustive-deps
50+
51+
./src/app/community/boards/[boardId]/Boards.tsx
52+
28:5 Warning: React Hook useCallback has a missing dependency: 'onHttpError'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
53+
54+
./src/app/community/boards/[boardId]/components/BoardHeader.tsx
55+
32:6 Warning: React Hook useEffect has missing dependencies: 'checkAccessToken' and 'onHttpError'. Either include them or remove the dependency array. react-hooks/exhaustive-deps
56+
57+
./src/app/community/boards/[boardId]/posts/[postId]/components/PostImageSwiper.tsx
58+
32:6 Warning: React Hook useEffect has missing dependencies: 'images.length' and 'updateSnapDisplay'. Either include them or remove the dependency array. react-hooks/exhaustive-deps
59+
60+
./src/app/community/boards/[boardId]/posts/[postId]/hooks/usePostActions.ts
61+
77:6 Warning: React Hook useEffect has a missing dependency: 'fetchPost'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
62+
63+
./src/app/community/write/components/BoardSelectDropdown.tsx
64+
40:6 Warning: React Hook useEffect has a missing dependency: 'onSelect'. Either include it or remove the dependency array. If 'onSelect' changes too often, find the parent component that defines it and wrap that definition in useCallback. react-hooks/exhaustive-deps
65+
66+
./src/app/community/write/components/ImagePreview.tsx
67+
31:11 Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images. jsx-a11y/alt-text
68+
69+
./src/app/community/write/page.tsx
70+
60:6 Warning: React Hook useEffect has missing dependencies: 'authStatus', 'fetchBoards', 'fetchPreviousPost', 'isAnonymousWriter', and 'router'. Either include them or remove the dependency array. react-hooks/exhaustive-deps
71+
72+
./src/app/components/FestivalToggle.tsx
73+
15:6 Warning: React Hook useEffect has a missing dependency: 'changeFilterOption'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
74+
75+
./src/app/components/MenuList.tsx
76+
39:6 Warning: React Hook useEffect has missing dependencies: 'favoriteRestaurants' and 'filterMenuList'. Either include them or remove the dependency array. react-hooks/exhaustive-deps
77+
78+
./src/app/components/MobileFilter/MobileFilterBottomSheet.tsx
79+
76:6 Warning: React Hook useCallback has a missing dependency: 'onClose'. Either include it or remove the dependency array. If 'onClose' changes too often, find the parent component that defines it and wrap that definition in useCallback. react-hooks/exhaustive-deps
80+
91:6 Warning: React Hook useCallback has a missing dependency: 'selectedFilters'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
81+
82+
./src/app/components/MobileFilterBar.tsx
83+
79:1 Error: Expected indentation of 16 spaces but found 18. indent
84+
80:1 Error: Expected indentation of 14 spaces but found 16. indent
85+
135:1 Error: Expected indentation of 4 spaces but found 6. indent
86+
87+
./src/app/components/OperatingHour.tsx
88+
1:1 Error: Expected indentation of 0 spaces but found 2. indent
89+
90+
./src/app/components/RestaurantInfo.tsx
91+
79:1 Error: Expected indentation of 16 spaces but found 18. indent
92+
80:1 Error: Expected indentation of 14 spaces but found 16. indent
93+
84:1 Error: Expected indentation of 16 spaces but found 18. indent
94+
85:1 Error: Expected indentation of 18 spaces but found 20. indent
95+
86:1 Error: Expected indentation of 18 spaces but found 20. indent
96+
87:1 Error: Expected indentation of 16 spaces but found 18. indent
97+
88:1 Error: Expected indentation of 14 spaces but found 16. indent
98+
92:1 Error: Expected indentation of 16 spaces but found 18. indent
99+
93:1 Error: Expected indentation of 18 spaces but found 20. indent
100+
94:1 Error: Expected indentation of 18 spaces but found 20. indent
101+
95:1 Error: Expected indentation of 16 spaces but found 18. indent
102+
96:1 Error: Expected indentation of 14 spaces but found 16. indent
103+
104+
./src/app/components/RestaurantList.tsx
105+
43:6 Warning: React Hook useEffect has missing dependencies: 'isFavorite' and 'meal'. Either include them or remove the dependency array. react-hooks/exhaustive-deps
106+
107+
./src/app/menu/[menuId]/Menu.tsx
108+
62:6 Warning: React Hook useEffect has a missing dependency: 'fetchData'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
109+
110+
./src/app/menu/[menuId]/components/MenuSection.tsx
111+
48:6 Warning: React Hook useEffect has a missing dependency: 'onHttpError'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
112+
113+
./src/app/menu/[menuId]/photos/PhotoReviews.tsx
114+
47:6 Warning: React Hook useEffect has a missing dependency: 'onHttpError'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
115+
116+
./src/app/menu/[menuId]/reviews/write/page.tsx
117+
42:6 Warning: React Hook useEffect has missing dependencies: 'fetchMenu' and 'menuId'. Either include them or remove the dependency array. react-hooks/exhaustive-deps
118+
119+
./src/app/page.tsx
120+
81:6 Warning: React Hook useEffect has missing dependencies: 'getAccessToken', 'isExceptEmpty', 'onHttpError', 'orderList', 'setData', and 'setLoading'. Either include them or remove the dependency array. react-hooks/exhaustive-deps
121+
122+
./src/components/Account/ProfileImageEditModal.tsx
123+
41:6 Warning: React Hook useEffect has a missing dependency: 'profileFrameRef'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
124+
125+
./src/components/general/InfiniteScrollable.tsx
126+
29:5 Warning: React Hook useCallback has an unnecessary dependency: 'currentPath'. Either exclude it or remove the dependency array. react-hooks/exhaustive-deps
127+
50:44 Warning: The ref value 'observerElement.current' will likely have changed by the time this effect cleanup function runs. If this ref points to a node rendered by React, copy 'observerElement.current' to a variable inside the effect, and use that variable in the cleanup function. react-hooks/exhaustive-deps
128+
65:6 Warning: React Hook useEffect has missing dependencies: 'handleFetchMoreData' and 'loadingWrapper'. Either include them or remove the dependency array. react-hooks/exhaustive-deps
129+
130+
./src/components/general/Layout.tsx
131+
39:6 Warning: React Hook useEffect has missing dependencies: 'getAccessToken' and 'login'. Either include them or remove the dependency array. react-hooks/exhaustive-deps
132+
43:6 Warning: React Hook useEffect has a missing dependency: 'setIsFilterFavorite'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
133+
61:6 Warning: React Hook useEffect has missing dependencies: 'boardId' and 'router'. Either include them or remove the dependency array. react-hooks/exhaustive-deps
134+
135+
./src/components/general/Modals.tsx
136+
17:6 Warning: React Hook useEffect has missing dependencies: 'closeModal' and 'openedModals'. Either include them or remove the dependency array. react-hooks/exhaustive-deps
137+
138+
./src/hooks/UseAuth.ts
139+
23:6 Warning: React Hook useEffect has a missing dependency: 'setAuthStatus'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
140+
30:6 Warning: React Hook useCallback has missing dependencies: 'openLoginModal' and 'router'. Either include them or remove the dependency array. react-hooks/exhaustive-deps
141+
142+
./src/hooks/UseFilter.ts
143+
194:5 Warning: React Hook useCallback has a missing dependency: 'date'. Either include it or remove the dependency array. react-hooks/exhaustive-deps
144+
145+
./src/hooks/UseProfile.ts
146+
20:6 Warning: React Hook useEffect has missing dependencies: 'getAccessToken' and 'setUserInfo'. Either include them or remove the dependency array. react-hooks/exhaustive-deps
147+
148+
info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/app/api-reference/config/eslint#disabling-rules

next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
/// <reference types="next/image-types/global" />
33

44
// NOTE: This file should not be edited
5-
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
5+
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

next.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,14 @@ module.exports = {
1111
ssr: true,
1212
displayName: true,
1313
},
14+
},
15+
webpack(config, options) {
16+
config.module.rules.push({
17+
test: /\.svg$/i,
18+
issuer: /\.[jt]sx?$/,
19+
use: ['@svgr/webpack'],
20+
});
21+
22+
return config;
1423
}
1524
}

0 commit comments

Comments
 (0)