uipoet/sublime-jshint
关于
JSHint any JavaScript file in Sublime Text 2
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文#JSHint for Sublime Text
The best JavaScript syntax checker: JSHint for the best text editor: Sublime Text

Prerequisites: jshint and Sublime Package Control
Mac OS X: Installing node with homebrew or macports is assumed. Use SublimeFixMacPath for setting the correct OS X path. Supports nvm - Node Version Manager
Linux: Make sure jshint is in your environment path.
Windows: Installing node with the Windows Installer from nodejs.org is assumed.
##1. Terminal
npm install -g jshint
Note: JSHint will use the first .jshintrc file found traversing from the active file in Sublime Text up to your project's root.
##2. Sublime Text Package Control
command-shift-porcontrol-shift-pin Linux/Windows- type
install p, selectPackage Control: Install Package - type
jshint, selectJSHint
Note: Without Sublime Package Control, you could manually clone to Packages directory as 'JSHint', exactly.
##3. JSHint an active JavaScript file
control-joralt-jin Linux/Windows or Tools/Contextual menus or the Command PaletteF4jump to next error row/columnshift-F4jump to previous error row-column
Note: The control-j/alt-j shortcut changes the Build System on the current file to JSHint, then Builds to run JSHint on the file and output any errors for jumping to within the file. You could alternatively set the Build System to Automatic and command-b/control-b/F7, but only on files that end with .js.
##JSHint on save
Install SublimeOnSaveBuild
探索相关项目
加载中…