Skip to content

fix(refactor): block "Move to file" for statements in unbraced if/else #34715

fix(refactor): block "Move to file" for statements in unbraced if/else

fix(refactor): block "Move to file" for statements in unbraced if/else #34715

Triggered via pull request November 25, 2025 18:09
@hk2166hk2166
synchronize #62804
hk2166:main
Status Failure
Total duration 17m 16s
Artifacts 1

ci.yml

on: pull_request
Matrix: test
required
4s
required
Fit to window
Zoom out
Zoom in

Annotations

172 errors
format
Process completed with exit code 20.
knip
Process completed with exit code 1.
lint
Process completed with exit code 1.
lint: test-refactor.js#L10
Tag argument with parameter name
Test Node 24 on macos-latest
This module can only be referenced with ECMAScript imports/exports by turning on the 'esModuleInterop' flag and referencing its default export.
Test Node 24 on macos-latest
Module '"./index"' has no exported member 'pick'.
Test Node 24 on macos-latest
Cannot augment module './index' because it resolves to a non-module entity.
Test Node 24 on macos-latest
Circular definition of import alias '_'.
Test Node 24 on macos-latest
Import declaration conflicts with local declaration of 'pick'.
Test Node 24 on macos-latest
Circular definition of import alias 'funky'.
Test Node 24 on macos-latest
Circular definition of import alias 'React'.
Test Node 24 on macos-latest
This module can only be referenced with ECMAScript imports/exports by turning on the 'allowSyntheticDefaultImports' flag and referencing its default export.
Test Node 24 on macos-latest
Duplicate identifier 'VNode'.
Test Node 24 on macos-latest
Duplicate identifier 'VNode'.
Test Node 24 on macos-latest
Process completed with exit code 1.
Test Node 24 on ubuntu-latest
This module can only be referenced with ECMAScript imports/exports by turning on the 'esModuleInterop' flag and referencing its default export.
Test Node 24 on ubuntu-latest
Module '"./index"' has no exported member 'pick'.
Test Node 24 on ubuntu-latest
Cannot augment module './index' because it resolves to a non-module entity.
Test Node 24 on ubuntu-latest
Circular definition of import alias '_'.
Test Node 24 on ubuntu-latest
Import declaration conflicts with local declaration of 'pick'.
Test Node 24 on ubuntu-latest
Circular definition of import alias 'funky'.
Test Node 24 on ubuntu-latest
Circular definition of import alias 'React'.
Test Node 24 on ubuntu-latest
This module can only be referenced with ECMAScript imports/exports by turning on the 'allowSyntheticDefaultImports' flag and referencing its default export.
Test Node 24 on ubuntu-latest
Duplicate identifier 'VNode'.
Test Node 24 on ubuntu-latest
Duplicate identifier 'VNode'.
Test Node 24 on ubuntu-latest
Process completed with exit code 1.
baselines
Process completed with exit code 1.
Test Node 22 on ubuntu-latest
This module can only be referenced with ECMAScript imports/exports by turning on the 'esModuleInterop' flag and referencing its default export.
Test Node 22 on ubuntu-latest
Module '"./index"' has no exported member 'pick'.
Test Node 22 on ubuntu-latest
Cannot augment module './index' because it resolves to a non-module entity.
Test Node 22 on ubuntu-latest
Circular definition of import alias '_'.
Test Node 22 on ubuntu-latest
Import declaration conflicts with local declaration of 'pick'.
Test Node 22 on ubuntu-latest
Circular definition of import alias 'funky'.
Test Node 22 on ubuntu-latest
Circular definition of import alias 'React'.
Test Node 22 on ubuntu-latest
This module can only be referenced with ECMAScript imports/exports by turning on the 'allowSyntheticDefaultImports' flag and referencing its default export.
Test Node 22 on ubuntu-latest
Duplicate identifier 'VNode'.
Test Node 22 on ubuntu-latest
Duplicate identifier 'VNode'.
Test Node 22 on ubuntu-latest
Process completed with exit code 1.
Test Node 20 on ubuntu-latest
This module can only be referenced with ECMAScript imports/exports by turning on the 'esModuleInterop' flag and referencing its default export.
Test Node 20 on ubuntu-latest
Module '"./index"' has no exported member 'pick'.
Test Node 20 on ubuntu-latest
Cannot augment module './index' because it resolves to a non-module entity.
Test Node 20 on ubuntu-latest
Circular definition of import alias '_'.
Test Node 20 on ubuntu-latest
Import declaration conflicts with local declaration of 'pick'.
Test Node 20 on ubuntu-latest
Circular definition of import alias 'funky'.
Test Node 20 on ubuntu-latest
Circular definition of import alias 'React'.
Test Node 20 on ubuntu-latest
This module can only be referenced with ECMAScript imports/exports by turning on the 'allowSyntheticDefaultImports' flag and referencing its default export.
Test Node 20 on ubuntu-latest
Duplicate identifier 'VNode'.
Test Node 20 on ubuntu-latest
Duplicate identifier 'VNode'.
Test Node 20 on ubuntu-latest
Process completed with exit code 1.
Test Node 24 on windows-latest
This module can only be referenced with ECMAScript imports/exports by turning on the 'esModuleInterop' flag and referencing its default export.
Test Node 24 on windows-latest
Module '"./index"' has no exported member 'pick'.
Test Node 24 on windows-latest
Cannot augment module './index' because it resolves to a non-module entity.
Test Node 24 on windows-latest
Circular definition of import alias '_'.
Test Node 24 on windows-latest
Import declaration conflicts with local declaration of 'pick'.
Test Node 24 on windows-latest
Circular definition of import alias 'funky'.
Test Node 24 on windows-latest
Circular definition of import alias 'React'.
Test Node 24 on windows-latest
This module can only be referenced with ECMAScript imports/exports by turning on the 'allowSyntheticDefaultImports' flag and referencing its default export.
Test Node 24 on windows-latest
Duplicate identifier 'VNode'.
Test Node 24 on windows-latest
Duplicate identifier 'VNode'.
Test Node 24 on windows-latest
Process completed with exit code 1.
Test Node lts/* on ubuntu-latest with --no-bundle
This module can only be referenced with ECMAScript imports/exports by turning on the 'esModuleInterop' flag and referencing its default export.
Test Node lts/* on ubuntu-latest with --no-bundle
Module '"./index"' has no exported member 'pick'.
Test Node lts/* on ubuntu-latest with --no-bundle
Cannot augment module './index' because it resolves to a non-module entity.
Test Node lts/* on ubuntu-latest with --no-bundle
Circular definition of import alias '_'.
Test Node lts/* on ubuntu-latest with --no-bundle
Import declaration conflicts with local declaration of 'pick'.
Test Node lts/* on ubuntu-latest with --no-bundle
Circular definition of import alias 'funky'.
Test Node lts/* on ubuntu-latest with --no-bundle
Circular definition of import alias 'React'.
Test Node lts/* on ubuntu-latest with --no-bundle
This module can only be referenced with ECMAScript imports/exports by turning on the 'allowSyntheticDefaultImports' flag and referencing its default export.
Test Node lts/* on ubuntu-latest with --no-bundle
Duplicate identifier 'VNode'.
Test Node lts/* on ubuntu-latest with --no-bundle
Duplicate identifier 'VNode'.
Test Node lts/* on ubuntu-latest with --no-bundle
Process completed with exit code 1.
Test Node 16 on macos-latest
This module can only be referenced with ECMAScript imports/exports by turning on the 'esModuleInterop' flag and referencing its default export.
Test Node 16 on macos-latest
Module '"./index"' has no exported member 'pick'.
Test Node 16 on macos-latest
Cannot augment module './index' because it resolves to a non-module entity.
Test Node 16 on macos-latest
Circular definition of import alias '_'.
Test Node 16 on macos-latest
Import declaration conflicts with local declaration of 'pick'.
Test Node 16 on macos-latest
Circular definition of import alias 'funky'.
Test Node 16 on macos-latest
Circular definition of import alias 'React'.
Test Node 16 on macos-latest
This module can only be referenced with ECMAScript imports/exports by turning on the 'allowSyntheticDefaultImports' flag and referencing its default export.
Test Node 16 on macos-latest
Duplicate identifier 'VNode'.
Test Node 16 on macos-latest
Duplicate identifier 'VNode'.
Test Node 16 on macos-latest
Process completed with exit code 1.
Test Node 16 on ubuntu-latest
This module can only be referenced with ECMAScript imports/exports by turning on the 'esModuleInterop' flag and referencing its default export.
Test Node 16 on ubuntu-latest
Module '"./index"' has no exported member 'pick'.
Test Node 16 on ubuntu-latest
Cannot augment module './index' because it resolves to a non-module entity.
Test Node 16 on ubuntu-latest
Circular definition of import alias '_'.
Test Node 16 on ubuntu-latest
Import declaration conflicts with local declaration of 'pick'.
Test Node 16 on ubuntu-latest
Circular definition of import alias 'funky'.
Test Node 16 on ubuntu-latest
Circular definition of import alias 'React'.
Test Node 16 on ubuntu-latest
This module can only be referenced with ECMAScript imports/exports by turning on the 'allowSyntheticDefaultImports' flag and referencing its default export.
Test Node 16 on ubuntu-latest
Duplicate identifier 'VNode'.
Test Node 16 on ubuntu-latest
Duplicate identifier 'VNode'.
Test Node 16 on ubuntu-latest
Process completed with exit code 1.
Test Node 18 on ubuntu-latest
This module can only be referenced with ECMAScript imports/exports by turning on the 'esModuleInterop' flag and referencing its default export.
Test Node 18 on ubuntu-latest
Module '"./index"' has no exported member 'pick'.
Test Node 18 on ubuntu-latest
Cannot augment module './index' because it resolves to a non-module entity.
Test Node 18 on ubuntu-latest
Circular definition of import alias '_'.
Test Node 18 on ubuntu-latest
Import declaration conflicts with local declaration of 'pick'.
Test Node 18 on ubuntu-latest
Circular definition of import alias 'funky'.
Test Node 18 on ubuntu-latest
Circular definition of import alias 'React'.
Test Node 18 on ubuntu-latest
This module can only be referenced with ECMAScript imports/exports by turning on the 'allowSyntheticDefaultImports' flag and referencing its default export.
Test Node 18 on ubuntu-latest
Duplicate identifier 'VNode'.
Test Node 18 on ubuntu-latest
Duplicate identifier 'VNode'.
Test Node 18 on ubuntu-latest
Process completed with exit code 1.
Test Node 14 on ubuntu-latest
This module can only be referenced with ECMAScript imports/exports by turning on the 'esModuleInterop' flag and referencing its default export.
Test Node 14 on ubuntu-latest
Module '"./index"' has no exported member 'pick'.
Test Node 14 on ubuntu-latest
Cannot augment module './index' because it resolves to a non-module entity.
Test Node 14 on ubuntu-latest
Circular definition of import alias '_'.
Test Node 14 on ubuntu-latest
Import declaration conflicts with local declaration of 'pick'.
Test Node 14 on ubuntu-latest
Circular definition of import alias 'funky'.
Test Node 14 on ubuntu-latest
Circular definition of import alias 'React'.
Test Node 14 on ubuntu-latest
This module can only be referenced with ECMAScript imports/exports by turning on the 'allowSyntheticDefaultImports' flag and referencing its default export.
Test Node 14 on ubuntu-latest
Duplicate identifier 'VNode'.
Test Node 14 on ubuntu-latest
Duplicate identifier 'VNode'.
Test Node 14 on ubuntu-latest
Process completed with exit code 1.
Test Node 22 on windows-latest
This module can only be referenced with ECMAScript imports/exports by turning on the 'esModuleInterop' flag and referencing its default export.
Test Node 22 on windows-latest
Module '"./index"' has no exported member 'pick'.
Test Node 22 on windows-latest
Cannot augment module './index' because it resolves to a non-module entity.
Test Node 22 on windows-latest
Circular definition of import alias '_'.
Test Node 22 on windows-latest
Import declaration conflicts with local declaration of 'pick'.
Test Node 22 on windows-latest
Circular definition of import alias 'funky'.
Test Node 22 on windows-latest
Circular definition of import alias 'React'.
Test Node 22 on windows-latest
This module can only be referenced with ECMAScript imports/exports by turning on the 'allowSyntheticDefaultImports' flag and referencing its default export.
Test Node 22 on windows-latest
Duplicate identifier 'VNode'.
Test Node 22 on windows-latest
Duplicate identifier 'VNode'.
Test Node 22 on windows-latest
Process completed with exit code 1.
Test Node 20 on windows-latest
This module can only be referenced with ECMAScript imports/exports by turning on the 'esModuleInterop' flag and referencing its default export.
Test Node 20 on windows-latest
Module '"./index"' has no exported member 'pick'.
Test Node 20 on windows-latest
Cannot augment module './index' because it resolves to a non-module entity.
Test Node 20 on windows-latest
Circular definition of import alias '_'.
Test Node 20 on windows-latest
Import declaration conflicts with local declaration of 'pick'.
Test Node 20 on windows-latest
Circular definition of import alias 'funky'.
Test Node 20 on windows-latest
Circular definition of import alias 'React'.
Test Node 20 on windows-latest
This module can only be referenced with ECMAScript imports/exports by turning on the 'allowSyntheticDefaultImports' flag and referencing its default export.
Test Node 20 on windows-latest
Duplicate identifier 'VNode'.
Test Node 20 on windows-latest
Duplicate identifier 'VNode'.
Test Node 20 on windows-latest
Process completed with exit code 1.
Test Node 18 on windows-latest
This module can only be referenced with ECMAScript imports/exports by turning on the 'esModuleInterop' flag and referencing its default export.
Test Node 18 on windows-latest
Module '"./index"' has no exported member 'pick'.
Test Node 18 on windows-latest
Cannot augment module './index' because it resolves to a non-module entity.
Test Node 18 on windows-latest
Circular definition of import alias '_'.
Test Node 18 on windows-latest
Import declaration conflicts with local declaration of 'pick'.
Test Node 18 on windows-latest
Circular definition of import alias 'funky'.
Test Node 18 on windows-latest
Circular definition of import alias 'React'.
Test Node 18 on windows-latest
This module can only be referenced with ECMAScript imports/exports by turning on the 'allowSyntheticDefaultImports' flag and referencing its default export.
Test Node 18 on windows-latest
Duplicate identifier 'VNode'.
Test Node 18 on windows-latest
Duplicate identifier 'VNode'.
Test Node 18 on windows-latest
Process completed with exit code 1.
Test Node 16 on windows-latest
This module can only be referenced with ECMAScript imports/exports by turning on the 'esModuleInterop' flag and referencing its default export.
Test Node 16 on windows-latest
Module '"./index"' has no exported member 'pick'.
Test Node 16 on windows-latest
Cannot augment module './index' because it resolves to a non-module entity.
Test Node 16 on windows-latest
Circular definition of import alias '_'.
Test Node 16 on windows-latest
Import declaration conflicts with local declaration of 'pick'.
Test Node 16 on windows-latest
Circular definition of import alias 'funky'.
Test Node 16 on windows-latest
Circular definition of import alias 'React'.
Test Node 16 on windows-latest
This module can only be referenced with ECMAScript imports/exports by turning on the 'allowSyntheticDefaultImports' flag and referencing its default export.
Test Node 16 on windows-latest
Duplicate identifier 'VNode'.
Test Node 16 on windows-latest
Duplicate identifier 'VNode'.
Test Node 16 on windows-latest
Process completed with exit code 1.
Test Node 14 on windows-latest
This module can only be referenced with ECMAScript imports/exports by turning on the 'esModuleInterop' flag and referencing its default export.
Test Node 14 on windows-latest
Module '"./index"' has no exported member 'pick'.
Test Node 14 on windows-latest
Cannot augment module './index' because it resolves to a non-module entity.
Test Node 14 on windows-latest
Circular definition of import alias '_'.
Test Node 14 on windows-latest
Import declaration conflicts with local declaration of 'pick'.
Test Node 14 on windows-latest
Circular definition of import alias 'funky'.
Test Node 14 on windows-latest
Circular definition of import alias 'React'.
Test Node 14 on windows-latest
This module can only be referenced with ECMAScript imports/exports by turning on the 'allowSyntheticDefaultImports' flag and referencing its default export.
Test Node 14 on windows-latest
Duplicate identifier 'VNode'.
Test Node 14 on windows-latest
Duplicate identifier 'VNode'.
Test Node 14 on windows-latest
Process completed with exit code 1.
coverage
Process completed with exit code 1.
required
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size Digest
fix_baselines.patch
20.5 KB
sha256:68d4695a53d4dde52c5aa7abfdb35ed4b98096f2248ba9fe5a8a1ba6d904f07f