stable

Clone or download

Read-only

Fix eslint errors in core

part of request #13545: Introduce eslint to the test pipeline This fixes all eslint errors in tuleap core. How to test: - npm run eslint -- --quiet src/www/scripts - The previous command should return 0 error. "quiet option" disables warnings, which are not handled by this commit. - No functional change expected Change-Id: I0447d417415f7b0298d60956151cd3be8a04e9b0

Modified Files

Name
M .eslintignore +3 −1 Go to diff View file
M plugins/ldap/www/scripts/project-admin/project-admin-ugroups.js +1 −1 Go to diff View file
M src/common/layout/Layout.class.php +1 −1 Go to diff View file
M src/www/scripts/BurningParrot/navbar-dropdown-projects.js +5 −10 Go to diff View file
M src/www/scripts/BurningParrot/navbar-dropdown.js +7 −14 Go to diff View file
M src/www/scripts/FlamingParrot/navbar.js +1 −1 Go to diff View file
M src/www/scripts/FlamingParrot/sidebar.js +3 −3 Go to diff View file
M src/www/scripts/admin/massmail.js +2 −0 Go to diff View file
M src/www/scripts/autocomplete.js +3 −2 Go to diff View file
M src/www/scripts/check_pw.js +1 −0 Go to diff View file
M src/www/scripts/clamp.js +24 −14 Go to diff View file
M src/www/scripts/codendi/CreateProject.js +1 −0 Go to diff View file
M src/www/scripts/codendi/DropDownPanel.js +3 −0 Go to diff View file
M src/www/scripts/codendi/ProjectHistory.js +7 −4 Go to diff View file
M src/www/scripts/codendi/RichTextEditor.js +8 −2 Go to diff View file
M src/www/scripts/codendi/Toggler.js +2 −0 Go to diff View file
M src/www/scripts/codendi/Tooltip-loader.js +2 −0 Go to diff View file
M src/www/scripts/codendi/Tooltip.js +3 −1 Go to diff View file
M src/www/scripts/codendi/Tracker.js +4 −0 Go to diff View file
M src/www/scripts/codendi/TreeNode.js +2 −0 Go to diff View file
M src/www/scripts/codendi/common.js +4 −2 Go to diff View file
M src/www/scripts/codendi/cross_references.js +5 −1 Go to diff View file
M src/www/scripts/codendi/debug_reserved_names.js +2 −0 Go to diff View file
M src/www/scripts/codendi/feedback.js +3 −0 Go to diff View file
M src/www/scripts/dashboards/dashboard-drag-drop.js +1 −1 Go to diff View file
M src/www/scripts/dashboards/dashboard-modals.js +3 −3 Go to diff View file
M src/www/scripts/fieldEditor.js +15 −5 Go to diff View file
M src/www/scripts/project/admin/project-admin-ugroups.js +1 −1 Go to diff View file
M src/www/scripts/register.js +3 −1 Go to diff View file
M src/www/scripts/trackerv3_artifact.js +2 −0 Go to diff View file
M src/www/scripts/tuleap/account-maintenance.js +2 −2 Go to diff View file
M src/www/scripts/tuleap/admin-description-fields.js +3 −0 Go to diff View file
M src/www/scripts/tuleap/admin-homepage.js +2 −0 Go to diff View file
M src/www/scripts/tuleap/autocomplete-for-select2.js +4 −0 Go to diff View file
M src/www/scripts/tuleap/browser-compatibility.js +2 −2 Go to diff View file
M src/www/scripts/tuleap/ckeditor/webpack.config.js +4 −0 Go to diff View file
M src/www/scripts/tuleap/datetimepicker.js +2 −0 Go to diff View file
M src/www/scripts/tuleap/escaper.js +3 −1 Go to diff View file
M src/www/scripts/tuleap/get-style-class-property.js +9 −6 Go to diff View file
M src/www/scripts/tuleap/is-at-top.js +2 −0 Go to diff View file
M src/www/scripts/tuleap/listFilter.js +3 −4 Go to diff View file
M src/www/scripts/tuleap/manage-allowed-projects-on-resource.js +1 −2 Go to diff View file
M src/www/scripts/tuleap/massmail_initialize_ckeditor.js +4 −2 Go to diff View file
M src/www/scripts/tuleap/project-privacy-tooltip.js +1 −0 Go to diff View file
M src/www/scripts/tuleap/search.js +2 −1 Go to diff View file
M src/www/scripts/tuleap/svn.js +1 −0 Go to diff View file
M src/www/scripts/tuleap/textarea_rte.js +1 −0 Go to diff View file
M src/www/scripts/tuleap/timezone.js +1 −0 Go to diff View file
M src/www/scripts/tuleap/tuleap-mention.js +4 −1 Go to diff View file
M src/www/scripts/tuleap/tuleap-modal.js +9 −7 Go to diff View file
M src/www/scripts/tuleap/tuleap-standard-homepage.js +1 −0 Go to diff View file
M src/www/scripts/tuleap/tuleap-tours.js +1 −0 Go to diff View file
M src/www/scripts/tuleap/user-and-ugroup-autocompleter.js +5 −2 Go to diff View file
M src/www/scripts/viewportchecker/viewport-checker.js +3 −1 Go to diff View file
M src/www/scripts/webpack.config.js +3 −1 Go to diff View file
M src/www/scripts/widgets/contact-modal.js +2 −0 Go to diff View file
M src/www/themes/common/tlp/doc/js/editors.js +2 −0 Go to diff View file
M src/www/themes/common/tlp/doc/js/main.js +4 −4 Go to diff View file
M src/www/themes/common/tlp/mocks/index.js +2 −0 Go to diff View file
M src/www/themes/common/tlp/src/js/dom-walker.js +14 −15 Go to diff View file
M src/www/themes/common/tlp/src/js/popovers.js +4 −4 Go to diff View file
M tools/utils/scripts/webpack-rule-configs.js +1 −1 Go to diff View file