How to increase JSHint maxerr threshold of the Client Method debugger
As soon as you reached the magic limit, JSHint will refuse to highlight syntax errors. And the longer your Method gets, the more you will miss this minimalist help. Fortunately, the solution is not difficult at all. We just have to increase the maxerr threshold of JSHint.
- Don´t be scared of the minified file!
- Search for maxerr:100
- Increase the value, e.g. to maxerr:200 and save the file
- After clearing the browser cache, the debugger should now work reliably (until you reach the limit again…)
- As this one is codetree change, it will be overwritten in Aras update. So add this modification to your test plan
Tested with Innovator 12. Use at your own risk!
You are so awesome! I don’t believe I’ve truly read something like this before.
So wonderful to find somebody with a few original thoughts on this issue.
Seriously.. many thanks for starting this up. This website is something that is needed on the web, someone with a little originality!
Hi there, just became alert to your blog through Google,
and found that it’s truly informative. I’m gonna watch out for brussels.
I will appreciate if you continue this in future.
Numerous people will be benefited from your writing.