Disable wavy underline in VS Code

前端 未结 5 1490
情书的邮戳
情书的邮戳 2020-12-08 00:41


I\'m using Visual Studio Code (v1.11.2).
Is there any way to disable wavy underline at all?

5条回答
  •  半阙折子戏
    2020-12-08 01:21

    VSC Version: 1.45.1

    Solution: Disable "JavaScript ESLint Enable" for JavaScript files.

    1. Open Command Palette by 'Ctrl+Shift+P'.
    2. From Command Palette find and click: 'Preferences: Open Workspace Settings'.
    3. From 'Workspace Settings' into search field type 'javascript'. From left sidebar look for Extensions -> ESLint.
    4. Click 'ESLint' and from right look for 'ESLint: Enable'.
    5. Uncheck 'ESLint Enable'.

提交回复
热议问题