简体   繁体   English

如何在Webpack中禁用require-jsdoc eslint

[英]How to disable require-jsdoc eslint in webpack

Error : [eslint] Missing JSDoc comment. 错误:[eslint]缺少JSDoc注释。 (require-jsdoc) I want to disable this error from webpack config so that it will not be displayed on the console. (require-jsdoc)我想从webpack配置中禁用此错误,以便它不会显示在控制台上。

I used the .eslintrc.json file and added this under rules 我使用了.eslintrc.json文件,并将其添加到rules

"require-jsdoc" : 0

I don't use webpack. 我不使用webpack。 Hope this helps. 希望这可以帮助。

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

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