【问题标题】:Notepad++ JSLint Plugin not compiling whole file at a time and How to ignore a particular line in codeNotepad ++ JSLint插件一次不编译整个文件以及如何忽略代码中的特定行
【发布时间】:2014-05-15 07:21:45
【问题描述】:

我已经在 Notepad++ 中安装了 jslint 插件

我已经更改了选项的最大值。错误到 5000 个 jslint 如下图所示,用于获取所有错误或扫描整个文件,但我仍然只收到 7 个错误。

其次,有没有办法忽略代码中的任何特定行\行集,以便 jslint 不解析它。

我用过

   // jslint ignore:line

/*ignore jslint start*/
    //
    //
    //
/*ignore jslint end*/

但根本没有工作。

【问题讨论】:

    标签: notepad++ jslint


    【解决方案1】:

    用途:

    /*ignore jslint start*/
    

    开始块,并且

    /*ignore jslint end*/ 
    

    结束要忽略的代码块

    参考文献

    【讨论】:

    • 除了它在 jslint 的 NotePad++ 实现中似乎不起作用。
    猜你喜欢
    • 2012-11-29
    • 2010-09-26
    • 1970-01-01
    • 1970-01-01
    • 2012-08-15
    • 1970-01-01
    • 2018-06-17
    • 1970-01-01
    • 2017-10-29
    相关资源
    最近更新 更多