Skip to content

Eslint changes

Eslint changes #2

Triggered via pull request October 29, 2024 13:00
Status Failure
Total duration 30s
Artifacts

eslint.yml

on: pull_request
Run ESLint
20s
Run ESLint
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Run ESLint: api/api.js#L79
Async function 'api' has a complexity of 38. Maximum allowed is 15
Run ESLint: lib/layer/decorate.mjs#L239
'response' is never reassigned. Use 'const' instead
Run ESLint: lib/layer/featureFields.mjs#L87
'theme' is never reassigned. Use 'const' instead
Run ESLint: lib/layer/featureFields.mjs#L89
'n' is never reassigned. Use 'const' instead
Run ESLint: lib/layer/featureFields.mjs#L116
'theme' is never reassigned. Use 'const' instead
Run ESLint: lib/layer/featureStyle.mjs#L147
'clusterScale' is never reassigned. Use 'const' instead
Run ESLint: lib/layer/format/mvt.mjs#L265
'viewport' is never reassigned. Use 'const' instead
Run ESLint: lib/layer/format/mvt.mjs#L268
'z' is never reassigned. Use 'const' instead
Run ESLint: lib/layer/styleParser.mjs#L85
Function 'styleParser' has a complexity of 18. Maximum allowed is 15
Run ESLint: lib/layer/themes/distributed.mjs#L28
'field' is never reassigned. Use 'const' instead