stable

Clone or download

Read-only

Fix eslint errors in agiledashboard plugin

First part of request #13545: Introduce eslint to the test pipeline This fixes all eslint errors in the agile dashboard plugin. How to test: - npm run eslint -- --quiet plugins/agiledashboard - The previous command should return 0 error. "quiet option" disables warnings, which are not handled by this commit. Non-regression: - Please check planning v2, kanban and agile dashboard home have no functional changes. Change-Id: I79886ee6477449f1627d51ef8d505c8e0aa3c2d4

Modified Files

Name
M plugins/agiledashboard/www/js/card-fields/card-fields-service.js +3 −3 Go to diff View file
M plugins/agiledashboard/www/js/cumulative-flow-diagram/cumulative-chart-factory.js +3 −4 Go to diff View file
M plugins/agiledashboard/www/js/display-angular-feedback.js +1 −1 Go to diff View file
M plugins/agiledashboard/www/js/home.js +3 −1 Go to diff View file
M plugins/agiledashboard/www/js/kanban/src/app/app.spec.js +21 −0 Go to diff View file
M plugins/agiledashboard/www/js/kanban/src/app/column-collection-service.js +13 −14 Go to diff View file
M plugins/agiledashboard/www/js/kanban/src/app/dropped-service.spec.js +1 −1 Go to diff View file
M plugins/agiledashboard/www/js/kanban/src/app/edit-kanban/edit-kanban-autofocus-directive.js +1 −1 Go to diff View file
M plugins/agiledashboard/www/js/kanban/src/app/esc-key/esc-key-directive.js +2 −0 Go to diff View file
M plugins/agiledashboard/www/js/kanban/src/app/in-properties-filter/in-properties-filter.js +2 −2 Go to diff View file
M plugins/agiledashboard/www/js/kanban/src/app/jwt/jwt.js +1 −0 Go to diff View file
M plugins/agiledashboard/www/js/kanban/src/app/kanban-column/kanban-column-service.js +7 −9 Go to diff View file
M plugins/agiledashboard/www/js/kanban/src/app/kanban-column/kanban-column-service.spec.js +1 −3 Go to diff View file
M plugins/agiledashboard/www/js/kanban/src/app/reports-modal/diagram-directive.js +1 −0 Go to diff View file
M plugins/agiledashboard/www/js/kanban/src/app/reports-modal/reports-modal-controller.js +28 −18 Go to diff View file
M plugins/agiledashboard/www/js/kanban/src/app/resize-directive.js +3 −1 Go to diff View file
M plugins/agiledashboard/www/js/kanban/src/app/shared-properties/shared-properties.js +1 −0 Go to diff View file
M plugins/agiledashboard/www/js/kanban/src/app/socket/socket-service.js +1 −2 Go to diff View file
M plugins/agiledashboard/www/js/kanban/src/app/socket/socket.js +1 −0 Go to diff View file
M plugins/agiledashboard/www/js/kanban/src/app/user-preferences/user-preferences-service.js +2 −2 Go to diff View file
M plugins/agiledashboard/www/js/kanban/src/app/user-preferences/user-preferences.js +1 −0 Go to diff View file
M plugins/agiledashboard/www/js/kanban/src/app/uuid-generator/uuid-generator.js +1 −0 Go to diff View file
M plugins/agiledashboard/www/js/kanban/src/app/wip-popover/wip-popover-directive.js +1 −1 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item-rest/backlog-item-factory.js +4 −9 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item-rest/backlog-item-factory.spec.js +6 −4 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item-rest/backlog-item-service.js +12 −19 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item-rest/backlog-item-service.spec.js +2 −5 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item-selected/backlog-item-select-directive.js +2 −0 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item-selected/backlog-item-selected-service.js +9 −11 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item-controller.js +2 −4 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item-controller.spec.js +1 −8 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item-details/backlog-item-details-controller.js +3 −4 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog/backlog-controller.js +0 −1 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog/backlog-controller.spec.js +47 −35 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/drop/dropped-service.js +7 −18 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/drop/dropped-service.spec.js +1 −3 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/milestone-collection/milestone-collection-service.js +2 −6 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/milestone-rest/milestone-service.js +36 −67 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/planning-controller.js +5 −5 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/planning-controller.spec.js +28 −22 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/project/project-service.js +12 −19 Go to diff View file
M plugins/agiledashboard/www/js/webpack.config.js +4 −0 Go to diff View file