简体   繁体   中英

PhpStorm WebStorm angular-cli project; how to turn off lint

I'm running PhpStorm 2017.2 , and I created an angular-cli project in a folder that already some modules and components built with angular-cli .

I get thousands of linting errors that are making it impossible for me to quickly find and address actual Typescript errors. I would like to disable linting until I've dealt with serious errors but I don't know how.

In accordance with the advice given here , I've tried to delete the tslint section from .angular-cli.json , then restart the PhpStorm software. However, I'm still getting the linting errors (eg: " Comment must start with a space "

Why is linting still happening, and how can I disable it until I'm finished addressing actual TS errors?

In Your IDE, you need to go to Preferences (I use WebStorm), select the section TypeScript and TSLint and uncheck the Enable box (see attached screenshot. 在此处输入图片说明 )

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