feat(templates): add number-activity, number-usage template #522
Annotations
11 errors and 1 warning
number-activity/functions/listNumbers.js#L44
Expected an assignment or function call and instead saw an expression
|
number-activity/functions/usageNumber.js#L1
Refactor this function to reduce its Cognitive Complexity from 41 to the 15 allowed
|
number-activity/functions/usageNumber.js#L15
'lim' is never reassigned. Use 'const' instead
|
number-activity/functions/usageNumber.js#L23
'wNumber' is never reassigned. Use 'const' instead
|
number-activity/functions/usageNumber.js#L23
Unexpected string concatenation
|
number-activity/functions/usageNumber.js#L67
The body of a for-in should be wrapped in an if statement to filter unwanted properties from the prototype
|
number-activity/functions/usageNumber.js#L67
'm' is never reassigned. Use 'const' instead
|
number-activity/functions/usageNumber.js#L100
The body of a for-in should be wrapped in an if statement to filter unwanted properties from the prototype
|
number-activity/functions/usageNumber.js#L100
'm' is never reassigned. Use 'const' instead
|
number-activity/functions/usageNumber.js#L134
The body of a for-in should be wrapped in an if statement to filter unwanted properties from the prototype
|
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
This job failed
Loading