stable

Clone or download

Read-only

Implement request #32287: Forbid duplicate modules in `import`

No functional change expected. Notes: I've disabled this rule only when `vue` is imported twice in `script/setup` and in `script` blocks. Maybe we'll find a better way to deal with this in the future... Change-Id: I95441f3d4d24d02e5e4335bb39aca417934381f8

Modified Files

Name
M .eslintrc.js +1 −0 Go to diff View file
M lib/frontend/build-system-configurator/src/vite/vite-configurator.ts +4 −2 Go to diff View file
M lib/frontend/chart-builder/src/time-scale-labels-formatter.js +1 −2 Go to diff View file
M lib/frontend/fetch-result/src/AllGetter.ts +1 −2 Go to diff View file
M plugins/agiledashboard/scripts/kanban/src/app/realtime/mercure-service.js +1 −2 Go to diff View file
M plugins/crosstracker/scripts/cross-tracker/src/writing-mode/writing-cross-tracker-report.ts +1 −2 Go to diff View file
M plugins/document/scripts/document/api/version-rest-querier.ts +6 −2 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/OngoingUploadModal.vue +1 −2 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchContainer.test.ts +1 −2 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchCriteriaPanel.vue +2 −0 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchItemModals.test.ts +1 −2 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchItemModals.vue +2 −0 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/Cells/CellCustomProperty.vue +2 −1 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/SearchResultTable.test.ts +2 −1 Go to diff View file
M plugins/document/scripts/document/components/AdvancedSearch/SearchResult/TableBodyResultRow.vue +5 −2 Go to diff View file
M plugins/document/scripts/document/components/EmbeddedDisplay/DisplayEmbedded.vue +1 −2 Go to diff View file
M plugins/document/scripts/document/components/EmbeddedDisplay/DisplayEmbeddedContent.vue +2 −0 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/CutItem.test.ts +1 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/Delete/ModalConfirmDeletion.vue +1 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/Lock/UnlockItem.test.ts +1 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/NewVersionEmptyMenuOptions.test.ts +1 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/NewVersionEmptyMenuOptions.vue +10 −4 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/NewVersion/PreviewFilenameNewVersion.vue +1 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/PropertiesForCreateOrUpdate/AlwaysThereProperties/TitleProperty.test.ts +1 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/PropertiesForCreateOrUpdate/AlwaysThereProperties/TitleProperty.vue +1 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/DropDown/UpdateProperties/FolderDefaultPropertiesForUpdate.test.ts +1 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/EmptyState/EmptyFolderForReaders.vue +1 −2 Go to diff View file
M plugins/document/scripts/document/components/Folder/ItemTitle/FakeCaret.test.ts +1 −2 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/QuickLookDocumentPreview.test.ts +1 −2 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/QuickLookFile.test.ts +1 −2 Go to diff View file
M plugins/document/scripts/document/components/QuickLook/QuickLookItemIsLockedMessage.test.ts +1 −2 Go to diff View file
M plugins/document/scripts/document/helpers/emitter.ts +1 −3 Go to diff View file
M plugins/document/scripts/document/helpers/get-rest-body-from-search-params.test.ts +1 −2 Go to diff View file
M plugins/document/scripts/document/helpers/get-router-query-from-search-params.ts +1 −2 Go to diff View file
M plugins/document/scripts/document/router/router.ts +1 −2 Go to diff View file
M plugins/document/scripts/document/store/actions-create.test.ts +1 −2 Go to diff View file
M plugins/document/scripts/document/store/actions-create.ts +1 −2 Go to diff View file
M plugins/document/scripts/document/store/actions-helpers/create-new-file.ts +1 −2 Go to diff View file
M plugins/document/scripts/document/store/actions-helpers/upload-new-version.ts +1 −2 Go to diff View file
M plugins/document/scripts/document/store/actions-update.ts +10 −2 Go to diff View file
M plugins/document/scripts/document/store/item-mutations.test.ts +1 −2 Go to diff View file
M plugins/document/scripts/document/store/lock/lock-actions.ts +2 −4 Go to diff View file
M plugins/document/scripts/document/store/permissions/permissions-actions.ts +1 −2 Go to diff View file
M plugins/document/scripts/document/stores/clipboard.ts +1 −2 Go to diff View file
M plugins/document_generation/scripts/lib/docx/src/Artifact/sections-anchor.test.ts +1 −2 Go to diff View file
M plugins/document_generation/scripts/tracker-cross-report-action/src/Components/ModalContent.vue +1 −2 Go to diff View file
M plugins/document_generation/scripts/tracker-cross-report-action/src/Data/data-formator.ts +6 −5 Go to diff View file
M plugins/document_generation/scripts/tracker-cross-report-action/src/Data/organize-reports-data.test.ts +5 −3 Go to diff View file
M plugins/document_generation/scripts/tracker-cross-report-action/src/Data/organize-reports-data.ts +5 −2 Go to diff View file
M plugins/document_generation/scripts/tracker-cross-report-action/src/Data/reports-fields-labels-formator.test.ts +1 −2 Go to diff View file
M plugins/document_generation/scripts/tracker-cross-report-action/src/rest-querier.ts +1 −2 Go to diff View file
M plugins/document_generation/scripts/tracker-report-action/src/export-document.ts +4 −2 Go to diff View file
M plugins/git/scripts/repositories-list/src/components/GitlabModal/ArtifactClosureModal/ArtifactClosureModal.vue +1 −2 Go to diff View file
M plugins/git/scripts/repositories-list/src/components/GitlabModal/CreateBranchPrefix/CreateBranchPrefixModal.vue +1 −2 Go to diff View file
M plugins/git/scripts/repositories-list/src/components/GitlabModal/CreateGitlabLinkModal/ListRepositoriesModal.vue +1 −2 Go to diff View file
M plugins/git/scripts/repositories-list/src/gerrit/gerrit-checker.test.ts +1 −2 Go to diff View file
M plugins/git/scripts/repositories-list/src/index.ts +1 −2 Go to diff View file
M plugins/git/scripts/repositories-list/src/store/actions.ts +1 −2 Go to diff View file
M plugins/git/scripts/repositories-list/src/store/getters.test.ts +1 −2 Go to diff View file
M plugins/gitlab/scripts/group-link-wizard/src/tests/stubs/GitlabApiQuerierStub.ts +1 −2 Go to diff View file
M plugins/onlyoffice/scripts/siteadmin/src/components/App.test.ts +1 −2 Go to diff View file
M plugins/program_management/scripts/program_management/src/components/Backlog/ProgramIncrement/FeatureCardBacklogItems.test.ts +1 −2 Go to diff View file
M plugins/program_management/scripts/program_management/src/components/Backlog/ToBePlanned/ToBePlanned.vue +1 −2 Go to diff View file
M plugins/program_management/scripts/program_management/src/components/Backlog/ToBePlanned/ToBePlannedBacklogItems.test.ts +1 −2 Go to diff View file
M plugins/program_management/scripts/program_management/src/helpers/feature-reordering.test.ts +1 −2 Go to diff View file
M plugins/program_management/scripts/program_management/src/helpers/feature-reordering.ts +1 −2 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/chart_builder/burnup_chart_builder/burnup-chart-drawer.ts +1 −2 Go to diff View file
M plugins/pullrequest/scripts/lib/pullrequest-comments/src/comment/PullRequestCommentPresenter.test.ts +1 −2 Go to diff View file
M plugins/pullrequest/scripts/lib/pullrequest-comments/src/new-comment-form/NewCommentSaver.ts +5 −2 Go to diff View file
M plugins/pullrequest/scripts/lib/pullrequest-comments/src/templates/WritingZoneTemplate.test.ts +1 −1 Go to diff View file
M plugins/pullrequest/scripts/lib/pullrequest-comments/src/types.ts +5 −2 Go to diff View file
M plugins/pullrequest/scripts/lib/pullrequest-comments/tests/stubs/SaveNewReplyToCommentStub.ts +1 −2 Go to diff View file
M plugins/pullrequest/scripts/lib/rest-api-types/src/pull-request.ts +3 −2 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/Reviewers/PullRequestReviewerList.vue +5 −2 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/Threads/OverviewNewCommentForm.vue +5 −3 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/src/components/Threads/OverviewThreads.vue +10 −13 Go to diff View file
M plugins/pullrequest/scripts/pullrequest-overview/tests/stubs/LazyboxStub.ts +1 −2 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/file-diff/widgets/SideBySideCodeMirrorWidgetCreator.test.ts +1 −1 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/file-diff/widgets/SideBySideCodeMirrorWidgetCreator.ts +6 −4 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/file-diff/widgets/file-line-widget-placement-helper.ts +1 −2 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/file-diff/widgets/placeholders/SideBySideLinesHeightEqualizer.ts +1 −1 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/overview/reviewers/update-reviewers-modal/update-reviewers-modal-controller.js +1 −2 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/tests/stubs/FileDiffWidgetStub.ts +1 −1 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/tests/stubs/FileLineHandleStub.ts +1 −1 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/tests/stubs/PullRequestCommentPresenterStub.ts +1 −1 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Card/Add/AddCard.vue +1 −2 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/ButtonBar/TaskboardButtonBar.vue +1 −2 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/swimlane/card/card-actions.ts +6 −2 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/swimlane/card/card-mutations.test.ts +1 −2 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/store/swimlane/swimlane-getters.ts +4 −2 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/helpers/ExportAsDocument/Exporter/DOCX/download-docx.ts +1 −1 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/helpers/ExportAsDocument/Exporter/DOCX/matrix-builder.ts +15 −4 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/helpers/ExportAsDocument/Exporter/DOCX/testplan-builder.test.ts +1 −1 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/helpers/ExportAsDocument/Reporter/report-creator.test.ts +1 −1 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/helpers/ExportAsDocument/Reporter/report-creator.ts +1 −1 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/helpers/ExportAsDocument/Reporter/step-test-definition-formatter.test.ts +2 −2 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/helpers/ExportAsDocument/download-export-document.test.ts +5 −2 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/type.ts +1 −3 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Reporter/report-creator.test.ts +1 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/helpers/ExportAsDocument/Reporter/report-creator.ts +1 −1 Go to diff View file
M plugins/testplan/scripts/test-plan/src/store/campaign/campaign-actions.ts +1 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/REST/TuleapAPIClient.test.ts +4 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/date-field/DateField.test.ts +1 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/file-field/FileFieldsUploader.ts +1 −2 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/domain/fields/link-field/LinksRetriever.ts +1 −2 Go to diff View file
M plugins/tracker/scripts/tracker-creation/src/components/steps/step-two/creation-fields/FieldTrackerColor.vue +1 −2 Go to diff View file
M plugins/tracker/scripts/workflow-transitions/src/components/TransitionModal/PostAction/PostAction.test.js +1 −1 Go to diff View file
M plugins/tracker/scripts/workflow-transitions/src/components/TransitionModal/PostActionsSection.test.js +1 −1 Go to diff View file
M plugins/tracker/scripts/workflow-transitions/src/components/TransitionModal/PostActionsSection.vue +2 −2 Go to diff View file
M src/scripts/main/src/syntax-highlight/prism.ts +0 −1 Go to diff View file
M src/scripts/project-registration/src/store/configuration/index.ts +1 −2 Go to diff View file
M src/scripts/switch-to/src/stores/fulltext.test.ts +1 −2 Go to diff View file
M src/scripts/switch-to/src/stores/keyboard-navigation.ts +1 −2 Go to diff View file