csslint-rhino.js exception when CSS directories are passed
I am trying to integrate CSS lint (command line for Rhino) as a part of our build process and when I try to run it by passing the directory which contains all the CSS files the tool errors out with the message
"js: uncaught JavaScript runtime exception: TypeError: Cannot find function listF iles in object C:\views\myapp\src\css."
Command line: java -jar js.jar csslint-rhino.js --format=lint-xml C:\views\myapp\src\css
It works fine when the individual CSS files are passed as parameters. Can you please guide me on this.
If you hadn't been running windows you could've used my script. But I guess you need to do something similar under windows...
https://github.com/StefanWallin/css-lint-rhino-runner
Thanks Stefan, and yes I am looking for windows as all our build systems are windows NT based