Ignore rules "Function should not be too complex" and "Function should not have too many lines" for $(document).ready(function(){}) function

Hi, We got issues raised by sonarqube on (document).ready function.

  1. Function should not be too complex
  2. 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