> 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\auth\strategies\jwt-refresh.strategy.ts 27:3 error Async method 'validate' has no 'await' expression @typescript-eslint/require-await 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\run-seed.ts 7:37 error Unsafe argument of type `any` assigned to a parameter of type `DataSourceOptions` @typescript-eslint/no-unsafe-argument 7:55 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 17:12 error 'error' is defined but never used. Allowed unused caught errors must match /^_/u @typescript-eslint/no-unused-vars 24:1 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises 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\controllers\document-numbering.controller.ts 122:4 error Parsing error: Declaration or statement expected D:\nap-dms.lcbp3\backend\src\modules\document-numbering\controllers\numbering-metrics.controller.ts 13:3 error Async method 'getMetrics' has no 'await' expression @typescript-eslint/require-await 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\entities\document-number-audit.entity.ts 28:42 error 'unknown' overrides all other types in this union type @typescript-eslint/no-redundant-type-constituents D:\nap-dms.lcbp3\backend\src\modules\document-numbering\services\format.service.ts 56:4 error Parsing error: Declaration or statement expected 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\migration\migration.controller.ts 166:3 error Async method 'getStagingFile' has no 'await' expression @typescript-eslint/require-await 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.controller.ts 118:3 error Async method 'getAvailableActions' has no 'await' expression @typescript-eslint/require-await 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\backend\src\modules\workflow-engine\workflow-event.service.ts 54:3 error Async method 'processSingleEvent' has no 'await' expression @typescript-eslint/require-await D:\nap-dms.lcbp3\backend\src\scripts\migrate-storage-v2.ts 10:37 error Unsafe argument of type `any` assigned to a parameter of type `DataSourceOptions` @typescript-eslint/no-unsafe-argument 10:47 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any 57:20 error Unnecessary escape character: \/ no-useless-escape 57:78 error Unnecessary escape character: \/ no-useless-escape 57:89 error Unnecessary escape character: \/ no-useless-escape 83:9 error 'skippedCount' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars 97:9 error 'movedCount' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars 99:16 error 'err' is defined but never used. Allowed unused caught errors must match /^_/u @typescript-eslint/no-unused-vars 104:9 error 'errorCount' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars 112:12 error 'error' is defined but never used. Allowed unused caught errors must match /^_/u @typescript-eslint/no-unused-vars 119:1 error Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator @typescript-eslint/no-floating-promises 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 ✖ 114 problems (111 errors, 3 warnings)  ELIFECYCLE  Command failed with exit code 1.