stable

Clone or download

Read-only

request #9284: Use eslint in planning-v2 source

How to test this: - run 'npm prune && npm i' in planning-v2/ folder - run 'npm run build' Planning-v2 functionnality should be the same. You should test: - infinite-scrolling - multi-selection - drag and drop (items, item's children) - adding items FYI, this only adds linter compliance to source files. Unit-test files will be done in a following commit. Change-Id: I8322fba4f2a86f5b69a850d581c9ca4fd23ae83f

Modified Files

Name
M plugins/agiledashboard/templates/pane-planning-v2.mustache +1 −1 Go to diff View file
A plugins/agiledashboard/www/js/planning-v2/.eslintrc.json +233 −0 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/Gruntfile.js +54 −69 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/build.config.js +2 −3 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/package.json +3 −1 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/app-config.js +14 −16 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/app-planning-controller.js +21 −38 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/app-planning-controller.spec.js +73 −72 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item-collection/backlog-item-collection-service.js +1 −1 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item-selected/backlog-item-select-directive.js +15 −11 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item-selected/backlog-item-selected-bar-controller.js +1 −1 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item-selected/backlog-item-selected-service.js +1 −2 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item-controller.js +13 −14 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item-details/card-fields-service.js +8 −8 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item-factory.js +50 −52 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog-item/backlog-item-service.js +30 −32 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog/backlog-controller.js +24 −29 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/backlog/backlog-service.js +1 −1 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/dropped-service.js +152 −156 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/edit-item/edit-item-service.js +2 −2 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/highlight-filter/highlight-filter.js +16 −16 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/in-properties-filter/in-properties-filter.js +2 −2 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/infinite-scroll/infinite-scroll-directive.js +18 −18 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/infinite-scroll/infinite-scroll.js +1 −3 Go to diff View file
R plugins/agiledashboard/www/js/planning-v2/src/app/app-main-controller.js Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/milestone/milestone-controller.js +10 −9 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/milestone/milestone-service.js +48 −48 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/project/project-service.js +99 −102 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/project/project.js +3 −5 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/shared-properties/shared-properties-service.js +86 −89 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/user-preferences/user-preferences-service.js +6 −2 Go to diff View file