sublime3 安装了JSHint Gutter 单独版但错误信息不能显示在控制台.
想试试sublimelinter中的jshint.
已经安装了node.js也安装了sublimelinter-jshint
官网说明:https://packagecontrol.io/packages/SublimeLinter-jshint
Settings
For general information on how SublimeLinter works with settings, please see Settings. For information on generic linter settings, please see Linter Settings.
You can configure jshint options in the way you would from the command line, with .jshintrc files. For more information, see the jshint docs. The linter plugin does this by searching for a .jshintrc file itself, just as jshint does from the command line. You may provide a custom config file by setting the linter’s "args" setting to ["--config", "/path/to/file"]. On Windows, be sure to double the backslashes in the path, for example ["--config", "C:\\Users\\Aparajita\\jshint.conf"].
The path to the .jshintrc file is cached, meaning if you create a new .jshintrc that should have precedence over the previous one (meaning it is closer to the .js file) you need to clear the cache for the linter to use the new .jshintrc You can clear the cache by going to: Tools > SublimeLinter > Clear Caches.
并没有找到conf配置文件,.jshintrc也没有自动生成(JSHint Gutter单独版里有这个文件但配置后无效求解),