123 lines
11 KiB
Plaintext
123 lines
11 KiB
Plaintext
|
||
> backend@1.8.0 lint D:\nap-dms.lcbp3\backend
|
||
> eslint "{src,apps,libs,test}/**/*.ts" --fix
|
||
|
||
|
||
D:\nap-dms.lcbp3\backend\src\common\auth\auth.service.spec.ts
|
||
164: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
|
||
187:9 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
|
||
223:9 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
|
||
259:9 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
|
||
304:9 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
|
||
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
|
||
129: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
|
||
162: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
|
||
181: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\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\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\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-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
|
||
|
||
✖ 38 problems (38 errors, 0 warnings)
|
||
|
||
ELIFECYCLE Command failed with exit code 1.
|