简体   繁体   中英

TSlint remove global rules

I am coding an Angular project, using VSCode, while using the extension TSlint. My problem is that TSlint is applying some rules that are just tedious to me. I would like to disable some of the rules in my TSlint extension. How can I do this?

I know you can change the rules by editing the tslint.json in your Angular project. But how can I affect my global TSlintfor every project?

You can configure vscode tslint to use some other file instead tslint.json,

In vscode hit "ctrl + ," find TSLint and set custom config file.

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