简体   繁体   English

如何在角度项目中禁用 package.json 中的 eslint?

[英]How to disable eslint from package.json on an angular project?

I have this in my package.json of an angular project, how can I disable it?我在一个角度项目的 package.json 中有这个,我该如何禁用它?

` `

"eslint": "^6.8.0",

` `

I did try to delete it with no success, so I just want to disable it for now我确实尝试删除它但没有成功,所以我现在只想禁用它

Uninstall the package from the project using npm使用 npm 从项目中卸载包

npm uninstall eslint

Remove any.eslint files from the project, make sure to double check and delete if eslint still appears in the package.json从项目中删除任何 .eslint 文件,确保仔细检查并删除 eslint 是否仍然出现在 package.json 中

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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