Skip to content

Fix: service and pack plugins #240

Fix: service and pack plugins

Fix: service and pack plugins #240

Triggered via pull request July 4, 2024 09:54
Status Failure
Total duration 5m 11s
Artifacts

checks.yaml

on: pull_request
Lint, type check
5m 1s
Lint, type check
Fit to window
Zoom out
Zoom in

Annotations

50 errors and 1 warning
(@typescript-eslint/ban-types): Don't use `Function` as a type. The `Function` type accepts any function-like value. It provides no type safety when calling the function, which can be a common source of bugs. It also accepts things like class declarations, which will throw at runtime as they will not be called with `new`. If you are expecting the function to accept certain arguments, you should explicitly define the function shape.: cli/cli-ui-parts/src/submit-factory.component.tsx#L10
Don't use `Function` as a type. The `Function` type accepts any function-like value. It provides no type safety when calling the function, which can be a common source of bugs. It also accepts things like class declarations, which will throw at runtime as they will not be called with `new`. If you are expecting the function to accept certain arguments, you should explicitly define the function shape.
(@typescript-eslint/ban-types): Don't use `{}` as a type. `{}` actually means "any non-nullish value". - If you want a type meaning "any object", you probably want `object` instead. - If you want a type meaning "any value", you probably want `unknown` instead. - If you want a type meaning "empty object", you probably want `Record<string, never>` instead. - If you really want a type meaning "any non-nullish value", you probably want `NonNullable<unknown>` instead.: code/code-schematics/src/node-pnp-engine.host.ts#L94
Don't use `{}` as a type. `{}` actually means "any non-nullish value". - If you want a type meaning "any object", you probably want `object` instead. - If you want a type meaning "any value", you probably want `unknown` instead. - If you want a type meaning "empty object", you probably want `Record<string, never>` instead. - If you really want a type meaning "any non-nullish value", you probably want `NonNullable<unknown>` instead.
Lint, type check
Process completed with exit code 1.