Skip to content

refactor to typescript #2385

refactor to typescript

refactor to typescript #2385

Triggered via pull request February 25, 2025 06:43
Status Failure
Total duration 53s
Artifacts

push-check.yml

on: pull_request
push-check
45s
push-check
Fit to window
Zoom out
Zoom in

Annotations

10 errors
push-check: packages/block-compiler/.eslintrc.cjs#L1
A `require()` style import is forbidden
push-check: packages/block-compiler/.eslintrc.cjs#L1
'require' is not defined
push-check: packages/block-compiler/.eslintrc.cjs#L2
A `require()` style import is forbidden
push-check: packages/block-compiler/.eslintrc.cjs#L2
'require' is not defined
push-check: packages/block-compiler/.eslintrc.cjs#L4
'module' is not defined
push-check: packages/block-compiler/.eslintrc.cjs#L10
'__dirname' is not defined
push-check: packages/block-compiler/src/dev.ts#L1
Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free
push-check: packages/block-compiler/src/dev.ts#L40
Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free
push-check: packages/block-compiler/src/index.ts#L31
Optional chain expressions can return undefined by design - using a non-null assertion is unsafe and wrong
push-check: packages/block-compiler/test/sample/BlockFileName.vue#L20
'props' is assigned a value but never used. Allowed unused vars must match /^_/u