美文网首页
EsLint - Suppress “Do not use &#

EsLint - Suppress “Do not use &#

作者: 前端的爬行之旅 | 来源:发表于2018-10-15 10:31 被阅读8次

You can also make it a warning instead of an error by setting it to 1 (2 is error).
If you really need to disable this rule for your entire project, then in your .eslintrc's "rules" section set the value for this rule to 0:

rules: {
    "no-new": 0,
 }

相关文章

网友评论

      本文标题:EsLint - Suppress “Do not use &#

      本文链接:https://www.haomeiwen.com/subject/ehaxzftx.html