stable

Clone or download

Read-only

Fix eslint errors

part of request #13545: Introduce eslint to the test pipeline This fixes all eslint errors in testmanagement plugin. Many of the lodash errors have been ignored because they are applied on objects and not arrays, so there is no "one-liner" native replacement. How to test: - npm run eslint -- --quiet ./plugins/testmanagement - The previous command should return 0 error. "quiet option" disables warnings, which are not handled by this commit. - No functional change expected Change-Id: I0bd4c5d922e32f94ad81bf31c638812ccc8b9f9a

Modified Files

Name
M scripts/angular/src/app/app-directive.js +20 −2 Go to diff View file
M scripts/angular/src/app/artifact-links-graph/artifact-links-graph-directive.js +20 −0 Go to diff View file
M scripts/angular/src/app/artifact-links-graph/artifact-links-model-service.js +20 −0 Go to diff View file
M scripts/angular/src/app/campaign/campaign-edit-controller.js +42 −14 Go to diff View file
M scripts/angular/src/app/campaign/campaign-edit-controller.spec.js +20 −2 Go to diff View file
M scripts/angular/src/app/campaign/campaign-list-controller.spec.js +21 −3 Go to diff View file
M scripts/angular/src/app/definition/definition-service.js +20 −1 Go to diff View file
M scripts/angular/src/app/enable-tlp-table-filter-directive.js +21 −2 Go to diff View file
M scripts/angular/src/app/execution-collection/execution-rest-service.spec.js +20 −1 Go to diff View file
M scripts/angular/src/app/execution-collection/execution-service.js +39 −20 Go to diff View file
M scripts/angular/src/app/execution-collection/execution-service.spec.js +23 −2 Go to diff View file
M scripts/angular/src/app/execution/execution-detail-controller.spec.js +20 −1 Go to diff View file
M scripts/angular/src/app/execution/execution-list-controller.js +22 −1 Go to diff View file
M scripts/angular/src/app/execution/execution-list-filter.js +21 −0 Go to diff View file
M scripts/angular/src/app/execution/execution-with-steps/step/step-controller.spec.js +25 −3 Go to diff View file
M scripts/angular/src/app/socket/socket-service.js +20 −2 Go to diff View file