Repository navigation
Expand file tree
/
Copy pathlint_report.txt
More file actions
223 lines (168 loc) · 31.8 KB
/
Copy pathlint_report.txt
File metadata and controls
223 lines (168 loc) · 31.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
> my-prisma-app@0.1.0 lint
> eslint
F:\IHM\IHM\XCCM2-API\f.cjs
1:20 error A `require()` style import is forbidden @typescript-eslint/no-require-imports
2:31 error A `require()` style import is forbidden @typescript-eslint/no-require-imports
3:11 error A `require()` style import is forbidden @typescript-eslint/no-require-imports
4:26 error A `require()` style import is forbidden @typescript-eslint/no-require-imports
5:1 error A `require()` style import is forbidden @typescript-eslint/no-require-imports
32:18 warning 'e' is defined but never used @typescript-eslint/no-unused-vars
51:18 warning 'e' is defined but never used @typescript-eslint/no-unused-vars
F:\IHM\IHM\XCCM2-API\launcher.js
1:1 error A `require()` style import is forbidden @typescript-eslint/no-require-imports
2:1 error A `require()` style import is forbidden @typescript-eslint/no-require-imports
F:\IHM\IHM\XCCM2-API\real-server.mts
11:26 warning 'data' is defined but never used @typescript-eslint/no-unused-vars
F:\IHM\IHM\XCCM2-API\scripts\check-synapse-env.js
8:1 error A `require()` style import is forbidden @typescript-eslint/no-require-imports
F:\IHM\IHM\XCCM2-API\scripts\generate-certs.js
8:12 error A `require()` style import is forbidden @typescript-eslint/no-require-imports
9:14 error A `require()` style import is forbidden @typescript-eslint/no-require-imports
10:22 error A `require()` style import is forbidden @typescript-eslint/no-require-imports
F:\IHM\IHM\XCCM2-API\src\ai\socraticReviewer.ts
108:51 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
149:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
F:\IHM\IHM\XCCM2-API\src\app\api\ai\audit\route.ts
79:18 warning 'e' is defined but never used @typescript-eslint/no-unused-vars
93:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
F:\IHM\IHM\XCCM2-API\src\app\api\auth\login\route.ts
84:26 warning 'errorResponse' is defined but never used @typescript-eslint/no-unused-vars
F:\IHM\IHM\XCCM2-API\src\app\api\auth\register\route.ts
128:19 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
F:\IHM\IHM\XCCM2-API\src\app\api\auth\session-token\route.ts
1:23 warning 'NextResponse' is defined but never used @typescript-eslint/no-unused-vars
8:27 warning 'request' is defined but never used @typescript-eslint/no-unused-vars
F:\IHM\IHM\XCCM2-API\src\app\api\community\feed\route.ts
8:27 warning 'request' is defined but never used @typescript-eslint/no-unused-vars
F:\IHM\IHM\XCCM2-API\src\app\api\creators\top\route.ts
8:27 warning 'request' is defined but never used @typescript-eslint/no-unused-vars
F:\IHM\IHM\XCCM2-API\src\app\api\documents\route.ts
26:7 warning 'DOCUMENTS_CACHE_KEY' is assigned a value but never used @typescript-eslint/no-unused-vars
47:64 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
F:\IHM\IHM\XCCM2-API\src\app\api\marketplace\route.ts
24:22 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
F:\IHM\IHM\XCCM2-API\src\app\api\projects\[pr_name]\convert-to-template\route.ts
104:49 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
125:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
F:\IHM\IHM\XCCM2-API\src\app\api\projects\[pr_name]\export\route.ts
188:18 warning 'e' is defined but never used @typescript-eslint/no-unused-vars
F:\IHM\IHM\XCCM2-API\src\app\api\projects\[pr_name]\invitations\route.ts
15:10 warning 'getPendingInvitationsByProject' is defined but never used @typescript-eslint/no-unused-vars
68:52 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
F:\IHM\IHM\XCCM2-API\src\app\api\projects\[pr_name]\parts\[part_title]\chapters\[chapter_title]\paragraphs\[para_name]\notions\[notion_name]\route.ts
484:15 warning 'notionNumberToZer' is assigned a value but never used @typescript-eslint/no-unused-vars
F:\IHM\IHM\XCCM2-API\src\app\api\projects\[pr_name]\parts\[part_title]\chapters\[chapter_title]\paragraphs\[para_name]\route.ts
427:15 warning 'paragraphNumberToZero' is assigned a value but never used @typescript-eslint/no-unused-vars
F:\IHM\IHM\XCCM2-API\src\app\api\projects\[pr_name]\parts\[part_title]\chapters\[chapter_title]\route.ts
382:15 warning 'chapterNumberToZero' is assigned a value but never used @typescript-eslint/no-unused-vars
F:\IHM\IHM\XCCM2-API\src\app\api\projects\[pr_name]\parts\[part_title]\route.ts
326:15 warning 'partNumberToZero' is assigned a value but never used @typescript-eslint/no-unused-vars
F:\IHM\IHM\XCCM2-API\src\app\api\projects\[pr_name]\publish\route.ts
86:5 warning 'validationErrorResponse' is defined but never used @typescript-eslint/no-unused-vars
88:15 warning 'DocumentFormat' is defined but never used @typescript-eslint/no-unused-vars
98:7 warning 'publishSchema' is assigned a value but never used @typescript-eslint/no-unused-vars
F:\IHM\IHM\XCCM2-API\src\app\api\projects\[pr_name]\structure\route.ts
39:56 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
F:\IHM\IHM\XCCM2-API\src\app\api\projects\route.ts
244:63 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
F:\IHM\IHM\XCCM2-API\src\app\api\templates\[templateId]\create-project\route.ts
66:49 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
127:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
F:\IHM\IHM\XCCM2-API\src\app\api\templates\[templateId]\route.ts
52:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
128:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
186:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
F:\IHM\IHM\XCCM2-API\src\app\api\templates\route.ts
9:27 warning 'req' is defined but never used @typescript-eslint/no-unused-vars
38:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
F:\IHM\IHM\XCCM2-API\src\app\api\user\profile\route.ts
25:15 warning 'email' is assigned a value but never used @typescript-eslint/no-unused-vars
31:27 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
F:\IHM\IHM\XCCM2-API\src\app\api\users\route.ts
42:41 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
51:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
F:\IHM\IHM\XCCM2-API\src\app\auth\error\page.tsx
14:21 warning Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element @next/next/no-img-element
32:62 error `'` can be escaped with `'`, `‘`, `'`, `’` react/no-unescaped-entities
37:116 error `'` can be escaped with `'`, `‘`, `'`, `’` react/no-unescaped-entities
56:43 error `'` can be escaped with `'`, `‘`, `'`, `’` react/no-unescaped-entities
58:29 error Do not use an `<a>` element to navigate to `/api/auth/signin/`. Use `<Link />` from `next/link` instead. See: https://nextjs.org/docs/messages/no-html-link-for-pages @next/next/no-html-link-for-pages
69:29 error `'` can be escaped with `'`, `‘`, `'`, `’` react/no-unescaped-entities
69:95 error `'` can be escaped with `'`, `‘`, `'`, `’` react/no-unescaped-entities
F:\IHM\IHM\XCCM2-API\src\app\auth\signin\page.tsx
24:21 warning Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element @next/next/no-img-element
54:78 error `'` can be escaped with `'`, `‘`, `'`, `’` react/no-unescaped-entities
F:\IHM\IHM\XCCM2-API\src\app\docs\page.tsx
24:55 error `'` can be escaped with `'`, `‘`, `'`, `’` react/no-unescaped-entities
30:38 error `"` can be escaped with `"`, `“`, `"`, `”` react/no-unescaped-entities
30:48 error `"` can be escaped with `"`, `“`, `"`, `”` react/no-unescaped-entities
F:\IHM\IHM\XCCM2-API\src\app\page.tsx
104:36 error `'` can be escaped with `'`, `‘`, `'`, `’` react/no-unescaped-entities
139:29 error `'` can be escaped with `'`, `‘`, `'`, `’` react/no-unescaped-entities
166:30 error `'` can be escaped with `'`, `‘`, `'`, `’` react/no-unescaped-entities
199:34 error `'` can be escaped with `'`, `‘`, `'`, `’` react/no-unescaped-entities
222:34 error `'` can be escaped with `'`, `‘`, `'`, `’` react/no-unescaped-entities
250:52 error `'` can be escaped with `'`, `‘`, `'`, `’` react/no-unescaped-entities
264:37 error `'` can be escaped with `'`, `‘`, `'`, `’` react/no-unescaped-entities
278:31 error `'` can be escaped with `'`, `‘`, `'`, `’` react/no-unescaped-entities
278:61 error `'` can be escaped with `'`, `‘`, `'`, `’` react/no-unescaped-entities
287:43 error `"` can be escaped with `"`, `“`, `"`, `”` react/no-unescaped-entities
287:53 error `"` can be escaped with `"`, `“`, `"`, `”` react/no-unescaped-entities
F:\IHM\IHM\XCCM2-API\src\lib\chatbot.ts
203:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
F:\IHM\IHM\XCCM2-API\src\lib\document-service.ts
161:13 warning 'data' is assigned a value but never used @typescript-eslint/no-unused-vars
F:\IHM\IHM\XCCM2-API\src\lib\nextauth.ts
88:26 error A `require()` style import is forbidden @typescript-eslint/no-require-imports
95:18 warning 'err' is defined but never used @typescript-eslint/no-unused-vars
108:26 warning 'account' is defined but never used @typescript-eslint/no-unused-vars
112:26 error A `require()` style import is forbidden @typescript-eslint/no-require-imports
115:57 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
116:72 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
F:\IHM\IHM\XCCM2-API\src\lib\prisma.ts
13:5 warning Unused eslint-disable directive (no problems were reported from 'no-var')
F:\IHM\IHM\XCCM2-API\src\lib\redis.ts
82:24 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
92:33 error The `Function` type accepts any function-like value.
Prefer explicitly defining any function parameters and return type @typescript-eslint/no-unsafe-function-type
F:\IHM\IHM\XCCM2-API\src\lib\socratic-ai.ts
80:18 warning 'parseError' is defined but never used @typescript-eslint/no-unused-vars
85:21 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
F:\IHM\IHM\XCCM2-API\src\middleware.ts
167:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
F:\IHM\IHM\XCCM2-API\src\services\cache-service.ts
29:35 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
F:\IHM\IHM\XCCM2-API\src\services\realtime-service.ts
21:15 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
F:\IHM\IHM\XCCM2-API\src\synapse\server.mjs
1:10 warning 'Server' is defined but never used @typescript-eslint/no-unused-vars
2:10 warning 'TiptapTransformer' is defined but never used @typescript-eslint/no-unused-vars
3:13 warning 'Y' is defined but never used @typescript-eslint/no-unused-vars
4:8 warning 'prisma' is defined but never used @typescript-eslint/no-unused-vars
F:\IHM\IHM\XCCM2-API\src\synapse\server.ts
38:19 warning 'email' is assigned a value but never used @typescript-eslint/no-unused-vars
F:\IHM\IHM\XCCM2-API\src\types\document.types.ts
22:14 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
91:13 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
F:\IHM\IHM\XCCM2-API\src\utils\docx-generator.ts
17:10 warning 'parseMarkdownToSegments' is defined but never used @typescript-eslint/no-unused-vars
F:\IHM\IHM\XCCM2-API\src\utils\invitation-helpers.ts
173:17 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
F:\IHM\IHM\XCCM2-API\src\utils\pdf-generator.ts
18:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
410:26 warning 'partIndex' is defined but never used @typescript-eslint/no-unused-vars
437:48 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
441:48 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
F:\IHM\IHM\XCCM2-API\sy-dynamic.ts
12:26 warning 'data' is defined but never used @typescript-eslint/no-unused-vars
F:\IHM\IHM\XCCM2-API\sy-no-prisma.ts
2:10 warning 'TiptapTransformer' is defined but never used @typescript-eslint/no-unused-vars
12:26 warning 'data' is defined but never used @typescript-eslint/no-unused-vars
16:26 warning 'data' is defined but never used @typescript-eslint/no-unused-vars
F:\IHM\IHM\XCCM2-API\sy.ts
13:26 warning 'data' is defined but never used @typescript-eslint/no-unused-vars
F:\IHM\IHM\XCCM2-API\test-combined.ts
13:26 warning 'data' is defined but never used @typescript-eslint/no-unused-vars
Ô£û 110 problems (69 errors, 41 warnings)
0 errors and 1 warning potentially fixable with the `--fix` option.