如何在Webpack中禁用require-jsdoc eslint [英] How to disable require-jsdoc eslint in webpack

查看:230
本文介绍了如何在Webpack中禁用require-jsdoc eslint的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

错误:[eslint]缺少JSDoc注释。 (require-jsdoc)
我想从webpack配置中禁用此错误,以便它不会显示在控制台上。

Error : [eslint] Missing JSDoc comment. (require-jsdoc) I want to disable this error from webpack config so that it will not be displayed on the console.

推荐答案

我使用了 .eslintrc.json 文件,并将其添加到规则

I used the .eslintrc.json file and added this under rules


require-jsdoc:0

我不使用webpack。希望这会有所帮助。

I don't use webpack. Hope this helps.

这篇关于如何在Webpack中禁用require-jsdoc eslint的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆