简体   繁体   中英

Remove squiggly lines from displaying for Prettier/ESlint

How to remove squiggly lines from showing on VS Code for ESlint & Prettier setup. I want ESlint to do its work, format and fix errors on save but don't want to see the squiggly lines. Not sure if its even possible as I couldn't find any info on this. Looks like Prettier is causing all the unwanted squiggly lines

See this answer here . You edit settings.json and set "eslint.enable": false in VS Code. There is an extension that does it too.

This disables it in VS Code. Then you run eslint as a background task using https://www.npmjs.com/package/eslint-watch or similar.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM