This is a showcase that very-long functions may be accepted by max-func-body-length rule if the function is defined as a parameter of a pre-defined function/method, of which name matches /^.*describe.*$/
.
Just npm i
and npm run lint
for your try.
The behaviour could be an expected one, but the pattern mathces to names which do not look like describe
, such as xyzdescribexyz
for example, and this is not a good idea.