1.检查是否安装 node.js
2.是否安装jshint
3.检查配置文件
{
"user": {
"debug": false,
"delay": 0.25,
"error_color": "D02000",
"gutter_theme":
"Packages/SublimeLinter/gutter-themes/Default/Default.gutter-theme",
"gutter_theme_excludes": [],
"jshint_options": {
"browser":
true,
"curly":
true,
"devel":
true,
"eqeqeq":
true,
"evil":
true,
"forin":
true,
"globals":
{
"$": true,
"console": true,
"document": true,
"global": true,
"grunt": true,
"jQuery": true,
"module": true,
"setInterval":
true,
"setTimeout":
true,
"window": true
},
"jquery":
true,
"latedef":
true,
"noarg":
true,
"noempty":
true,
"quotmark": "single",
"strict":
false,
"undef":
true,
"unused":
"vars",
"wsh":
true
},
"lint_mode": "background",
"linters": {
"jshint":
{
"@disable": false,
"args": [],
"excludes": []
}
},
"mark_style": "outline",
"no_column_highlights_line": false,
"passive_warnings": true,
"paths": {
"linux":
[],
"osx":
[],
"windows":
[
"C:/Users/Administrator/AppData/Roaming/npm"
]
},
"python_paths": {
"linux":
[],
"osx":
[],
"windows":
[]
},
"rc_search_limit": 3,
"shell_timeout": 10,
"show_errors_on_save": false,
"show_marks_in_minimap": true,
"sublimelinter_executable_map": {
"css":
"E:/nodejs/node.exe",
"javascript": "E:/nodejs/node.exe"
},
"syntax_map": {
"html
(django)": "html",
"html
(rails)": "html",
"html 5":
"html",
"javascript (babel)": "javascript",
"magicpython": "python",
"php":
"html",
"python
django": "python",
"pythonimproved": "python"
},
"warning_color": "DDB700",
"wrap_find": true
}
}