是否可以在所有eslint规则上显示警告而不是错误? [英] Is it possible to show warnings instead of errors on ALL of eslint rules?

查看:221
本文介绍了是否可以在所有eslint规则上显示警告而不是错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正如标题所述,eslint是否有可能显示警告而不是所有规则上的错误?如果该信息相关,我正在使用Standard JS.

As the title says, would it be possible for eslint to show warnings instead of errors on ALL of the rules? I'm using Standard JS, if that information is relevant.

谢谢!

推荐答案

我认为目前没有现成的选项,但是也许您可以使用插件来归档:仅Eslint插件会警告

I think there's no out-of-the-box option right now, but maybe you could use a plugin to archieve that: Eslint plugin only warn

或将所有规则设置为警告而不是错误.

Or set all the rules ar warning instead of errors.

这篇关于是否可以在所有eslint规则上显示警告而不是错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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