260322:1648 Correct Coresspondence / Doing RFA / Correct CI
This commit is contained in:
@@ -0,0 +1,191 @@
|
||||
|
||||
> nap-dms.lcbp3@1.8.0 lint D:\nap-dms.lcbp3
|
||||
> eslint .
|
||||
|
||||
|
||||
D:\nap-dms.lcbp3\backend\src\common\auth\auth.service.spec.ts
|
||||
21:7 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
||||
56:5 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
||||
56:12 error Unsafe member access .compare on an `any` value @typescript-eslint/no-unsafe-member-access
|
||||
105:5 error Unsafe assignment of an error typed value @typescript-eslint/no-unsafe-assignment
|
||||
131:7 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
||||
131:14 error Unsafe member access .compare on an `any` value @typescript-eslint/no-unsafe-member-access
|
||||
165:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
||||
|
||||
D:\nap-dms.lcbp3\backend\src\common\file-storage\file-storage.service.spec.ts
|
||||
88:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
||||
89:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
||||
121:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
||||
139:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
||||
|
||||
D:\nap-dms.lcbp3\backend\src\database\seeds\user.seed.ts
|
||||
61:7 error Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment
|
||||
115:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
||||
119:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
||||
|
||||
D:\nap-dms.lcbp3\backend\src\modules\correspondence\correspondence.service.spec.ts
|
||||
135:5 error Unsafe assignment of an error typed value @typescript-eslint/no-unsafe-assignment
|
||||
144:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
||||
144:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
||||
153:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
||||
168:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
||||
177:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
||||
177:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
||||
177:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
||||
180:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
||||
184:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
||||
184:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
||||
191:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
||||
202:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
||||
208:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
||||
208:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
||||
208:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
||||
210:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
||||
213:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
||||
213:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
||||
220:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
||||
231:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
||||
237:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
||||
237:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
||||
237:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
||||
239:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
||||
243:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
||||
243:69 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
||||
250:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
||||
261:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
||||
262:7 error Unsafe call of a type that could not be resolved @typescript-eslint/no-unsafe-call
|
||||
264:10 error Unsafe member access .mockResolvedValue on a type that cannot be resolved @typescript-eslint/no-unsafe-member-access
|
||||
264:71 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
||||
270:31 error Unsafe argument of type `any` assigned to a parameter of type `UpdateCorrespondenceDto` @typescript-eslint/no-unsafe-argument
|
||||
270:44 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
||||
270:49 error Unsafe argument of type `any` assigned to a parameter of type `User` @typescript-eslint/no-unsafe-argument
|
||||
272:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
||||
|
||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\document-numbering.service.spec.ts
|
||||
127:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
||||
128:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
||||
145:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
||||
146:18 error Unsafe member access .findOne on an `any` value @typescript-eslint/no-unsafe-member-access
|
||||
151:18 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
||||
159:24 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
||||
163:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
||||
164:18 error Unsafe member access .findOne on an `any` value @typescript-eslint/no-unsafe-member-access
|
||||
168:18 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
||||
176:24 error Unsafe member access .save on an `any` value @typescript-eslint/no-unsafe-member-access
|
||||
|
||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\document-numbering.service.ts
|
||||
386:16 error This assertion is unnecessary since it does not change the type of the expression @typescript-eslint/no-unnecessary-type-assertion
|
||||
|
||||
D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\manual-override.service.spec.ts
|
||||
56:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
||||
57:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
||||
|
||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\create-json-schema.dto.ts
|
||||
51:37 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
||||
55:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
||||
65:36 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
||||
|
||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\dto\search-json-schema.dto.ts
|
||||
14:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
||||
|
||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\json-schema.service.ts
|
||||
265:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
||||
|
||||
D:\nap-dms.lcbp3\backend\src\modules\json-schema\services\virtual-column.service.ts
|
||||
101:11 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
||||
106:16 error Unsafe member access [0] on an `any` value @typescript-eslint/no-unsafe-member-access
|
||||
|
||||
D:\nap-dms.lcbp3\backend\src\modules\migration\migration.controller.spec.ts
|
||||
53:12 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
||||
|
||||
D:\nap-dms.lcbp3\backend\src\modules\notification\dto\search-notification.dto.ts
|
||||
20:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
||||
|
||||
D:\nap-dms.lcbp3\backend\src\modules\project\dto\search-project.dto.ts
|
||||
14:5 error Unsafe return of a value of type `any` @typescript-eslint/no-unsafe-return
|
||||
|
||||
D:\nap-dms.lcbp3\backend\src\modules\project\project.service.spec.ts
|
||||
64:7 error Unsafe call of an `any` typed value @typescript-eslint/no-unsafe-call
|
||||
66:10 error Unsafe member access .getManyAndCount on an `any` value @typescript-eslint/no-unsafe-member-access
|
||||
|
||||
D:\nap-dms.lcbp3\backend\src\modules\rfa\entities\rfa-workflow-template.entity.ts
|
||||
26:35 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
||||
|
||||
D:\nap-dms.lcbp3\backend\src\modules\rfa\entities\rfa-workflow.entity.ts
|
||||
55:33 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
||||
|
||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dsl\parser.service.ts
|
||||
24:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
||||
185:13 error Unsafe assignment of an `any` value @typescript-eslint/no-unsafe-assignment
|
||||
|
||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\dto\evaluate-workflow.dto.ts
|
||||
24:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
||||
|
||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\entities\workflow-history.entity.ts
|
||||
57:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
||||
|
||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\entities\workflow-instance.entity.ts
|
||||
73:28 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
||||
|
||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-dsl.service.ts
|
||||
258:20 error Implied eval. Do not use the Function constructor to create functions @typescript-eslint/no-implied-eval
|
||||
259:16 error Unsafe call of a `Function` typed value @typescript-eslint/no-unsafe-call
|
||||
|
||||
D:\nap-dms.lcbp3\backend\src\modules\workflow-engine\workflow-engine.service.spec.ts
|
||||
121:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
||||
122:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
||||
145:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
||||
188:14 error A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.
|
||||
Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value.
|
||||
If a function does not access `this`, it can be annotated with `this: void` @typescript-eslint/unbound-method
|
||||
|
||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\migration\page.tsx
|
||||
28:6 warning React Hook useEffect has a missing dependency: 'fetchData'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
||||
|
||||
D:\nap-dms.lcbp3\frontend\app\(admin)\admin\migration\review\[id]\page.tsx
|
||||
59:6 warning React Hook useEffect has a missing dependency: 'fetchItem'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
||||
|
||||
D:\nap-dms.lcbp3\frontend\components\correspondences\form.tsx
|
||||
125:52 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
||||
|
||||
D:\nap-dms.lcbp3\frontend\components\custom\file-upload-zone.tsx
|
||||
88:5 warning React Hook useCallback has a missing dependency: 'validateFile'. Either include it or remove the dependency array react-hooks/exhaustive-deps
|
||||
|
||||
✖ 92 problems (89 errors, 3 warnings)
|
||||
1 error and 0 warnings potentially fixable with the `--fix` option.
|
||||
|
||||
ELIFECYCLE Command failed with exit code 1.
|
||||
Reference in New Issue
Block a user