JSLint with multiple files

后端 未结 7 544
旧巷少年郎
旧巷少年郎 2020-12-11 14:22

JSLint works fine for just one JavaScript file. Recently, I\'ve started breaking my program into several pieces.

I don\'t want to be stringing the pieces each time I

相关标签:
7条回答
  • 2020-12-11 15:24

    If you don't need a running count of errors, open terminal (in OS X) and paste this:

    for i in $(find . -iname "*.js"); do jshint $i; done
    
    0 讨论(0)
提交回复
热议问题