scriptcat icon indicating copy to clipboard operation
scriptcat copied to clipboard

[BUG] Monaco Editor 对 `@require-css` 出现错误提示

Open cyfung1031 opened this issue 1 month ago • 2 comments

Problem Description

Image

Reproduction Steps

ScriptCat Version

Operating System and Browser Information

Additional Information (Optional)

No response

cyfung1031 avatar Nov 14 '25 12:11 cyfung1031

我觉得脚本猫应该把 eslint-plugin-userscripts fork 掉自己搞吧

cyfung1031 avatar Nov 14 '25 14:11 cyfung1031

我觉得脚本猫应该把 eslint-plugin-userscripts fork 掉自己搞吧

只需要定义一些规则应该就可以吧,暂时不需要fork https://github.com/scriptscat/scriptcat/blob/eb097dd146dcd6f8ca712ed883571dbfb3d09f20/packages/eslint/compat-headers.js

CodFrm avatar Nov 15 '25 05:11 CodFrm