Hi, We got issues raised by sonarqube on (document).ready function.
- Function should not be too complex
- Function should not have too many lines
I suggest that it should not count the (document).ready(function(){}) and count on the functions inside it instead, just like it does in IIFE. Or there should be a way to in JavaScript rule to optionally ignore counts on (document).ready(function(){}) and count on the functions inside it instead