Hi,
I think this has been asked multiple times, but still could not get it to work.
My app is defined across multiple files. For eg, there is utils.js , main.js. main.js uses functions defined in utils.js.
When I jshint main.js, it reports "xyz" is not defined. "xyz" is defined in utils.js ?
How do I get this to work ?
I know about the globals options and I am using this for a whole lot of 3rd party libraries i am using. However, this is not an option since the actual code has multiple files with each file have lots of functions which are used elsewhere. So adding these functions/variables one by one to globals is not an option.
I tried invoking jshint <list of files>, but this too did not take care of dependencies ?
Any help here will be appreciated ?
Thanks,
~preetham