test(curso): get_promedios should calculate the mean of valoraciones … #11
Annotations
10 errors and 11 warnings
lint-format-test:
src/analytics/curso.ts#L1
File has too many classes (3). Maximum allowed is 1
|
lint-format-test:
src/analytics/curso.ts#L18
'Docente' was used before it was defined
|
lint-format-test:
src/analytics/curso.ts#L25
'Docente' was used before it was defined
|
lint-format-test:
src/analytics/curso.ts#L33
'Docente' was used before it was defined
|
lint-format-test:
src/analytics/curso.ts#L41
'Docente' was used before it was defined
|
lint-format-test:
src/analytics/curso.ts#L54
'Docente' was used before it was defined
|
lint-format-test:
src/analytics/curso.ts#L55
'Docente' was used before it was defined
|
lint-format-test:
src/analytics/curso.ts#L56
iterators/generators require regenerator-runtime, which is too heavyweight for this guide to allow them. Separately, loops should be avoided in favor of array iterations
|
lint-format-test:
src/analytics/curso.ts#L67
iterators/generators require regenerator-runtime, which is too heavyweight for this guide to allow them. Separately, loops should be avoided in favor of array iterations
|
lint-format-test:
src/analytics/curso.ts#L69
for..in loops iterate over the entire prototype chain, which is virtually never what you want. Use Object.{keys,values,entries}, and iterate over the resulting array
|
lint-format-test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
lint-format-test:
src/analytics/curso.ts#L3
'questions' is assigned a value but never used
|
lint-format-test:
src/analytics/curso.ts#L71
Generic Object Injection Sink
|
lint-format-test:
src/analytics/curso.ts#L72
Generic Object Injection Sink
|
lint-format-test:
src/analytics/curso.ts#L74
Generic Object Injection Sink
|
lint-format-test:
src/analytics/curso.ts#L74
Generic Object Injection Sink
|
lint-format-test:
src/analytics/curso.ts#L74
Function Call Object Injection Sink
|
lint-format-test:
src/analytics/curso.ts#L80
Function Call Object Injection Sink
|
lint-format-test:
src/analytics/curso.ts#L81
Generic Object Injection Sink
|
lint-format-test:
src/analytics/curso.ts#L116
Generic Object Injection Sink
|
lint-format-test:
src/analytics/curso.ts#L117
Generic Object Injection Sink
|