You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We decided to not increment the structural complexity of nested functions in JS because JS has first-class functions, therefore they are used abundantly in a nested way, in patterns where the complexity is not raised.
However, we wish to maintain some restraint on nested functions by adopting rule S2004 for JS.
The text was updated successfully, but these errors were encountered:
Based on discussions about:
cognitive-complexity
): not report on JQuerydocument.ready
top-level functions #3116We decided to not increment the structural complexity of nested functions in JS because JS has first-class functions, therefore they are used abundantly in a nested way, in patterns where the complexity is not raised.
However, we wish to maintain some restraint on nested functions by adopting rule S2004 for JS.
The text was updated successfully, but these errors were encountered: