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!