Skip to content

update eslint config #463

update eslint config

update eslint config #463

Triggered via push February 25, 2025 07:15
Status Failure
Total duration 1m 3s
Artifacts

push-check.yml

on: push
push-check
55s
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