unplugin-auto-import icon indicating copy to clipboard operation
unplugin-auto-import copied to clipboard

fixbug:resolve parse errors

Open hanxinhenxue opened this issue 1 year ago • 3 comments

Description

When I used eslint9, I wanted to introduce an unplugin auto import eslint that ignored the file and changed the configuration file path to a file ending in. cjs or. mjs. The file was generated successfully, but the project reported an error and could not run. After debugging, it was found that the error was caused by using the JSON. parse method to parse these two formats of files 1715735779884 1715735810074 1715735888115

Linked Issues

Additional context

hanxinhenxue avatar May 15 '24 01:05 hanxinhenxue

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Same issue for me, hope it can be fixed quickly

VisionBao avatar May 20 '24 07:05 VisionBao

Is there anyone who can pay attention to this issue? @antfu @userquin

VisionBao avatar May 28 '24 08:05 VisionBao

Close in favor of #510, thanks!

antfu avatar Jul 11 '24 16:07 antfu