Skip to content

[Bug]: 【eslint】 An error was reported on vscode, but the compilation was successful without any error message. #4180

Closed
@runkobe24

Description

@runkobe24

Version

System:
    OS: Windows 11 10.0.22621
    CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700
    Memory: 11.90 GB / 31.68 GB
  Browsers:
    Edge: Chromium (127.0.2651.74)
    Internet Explorer: 11.0.22621.3527
  npmPackages:
    @rsbuild/core: ^1.0.14 => 1.1.9
    @rsbuild/plugin-css-minimizer: ^1.0.2 => 1.0.2
    @rsbuild/plugin-eslint: ^1.0.4 => 1.1.0
    @rsbuild/plugin-stylus: ^1.0.3 => 1.0.6
    @rsbuild/plugin-vue: ^1.0.2 => 1.0.5

Details

Migrated from vue cli, this is the previous vue cli project. When there is an error message in vscode, an error message will pop up on the console and page:
Image


The following is built using rspack:

Image

I hope that when there is an error message in vscode, the corresponding error message will appear on both the console and the page.

Reproduce link

https://codesandbox.io/p/devbox/82rj27

Reproduce Steps

yarn install
yarn dev

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions