シンタックスチェック

JavaScript Lint 

$ jsl hoge.js

とりあえずmate用
Painfully Obvious → JavaScript Tools TextMate Bundle

jsl -process "$TM_FILEPATH"


なんとなくmi用

property TerminalCommander:load script file "path:to:TerminalCommander"
property JSL : "path/to/jsl"
on run
  tell application "mi"
    set theFile to (file of document 1) as string
    set theFullPath to (POSIX path of theFile)
  end tell
  tell TerminalCommander
    set customTitle of it to "JavaScript Lint"
    doCommands for JSL & space & theFullPath with activation
  end tell
end run