JSLint with multiple files

后端 未结 7 550
旧巷少年郎
旧巷少年郎 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:09

    You can also have a look here: https://github.com/mikewest/jslint-utils It should work with either Rhino or NodeJS. You can also pass multiple files for checking. NB: if you have a command line script which doesn't take multiple files as arguments, you can always do something like: ls public/javascripts/**/*.js | jslint

提交回复
热议问题