我在Notepad ++中安裝了JSLint插件,並在Plugins/Plugin Manager
中選擇了JSLint。爲什麼記事本++中JSLint的附加選項被忽略?
我的Additional options
在Plugins/JSLint/JSLint Options
被忽略。 我在其他選項字段中添加了:/* jslint nomen: true, vars: true, plusplus: true */
。
var _this = this;
仍然導致錯誤Unexpected dangling '_' in '_this'
一些選項可以通過鼠標點擊來設置。這工作。不幸的是,並非所有選項都可用作點擊選項。
我還包含在Predefined
字段中:"$","window","document","Image"
。這也被忽略: var i = new Image();
=>'Image' was used before it was defined.