Address `vue/no-unused-properties` violations in `app/assets/javascripts/repository/`
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Collaborate/take over this issue](https://contributors.gitlab.com/manage-issue?action=work&projectId=278964&issueIid=525759) </details> <!--IssueSummary end--> The following files violate the `vue/no-unused-properties` ESLint rule: - [ ] `app/assets/javascripts/repository/components/blob_content_viewer.vue` - [ ] `app/assets/javascripts/repository/components/blob_viewers/geo_json/geo_json_viewer.vue` - [ ] `app/assets/javascripts/repository/components/commit_changes_modal.vue` - [ ] `app/assets/javascripts/repository/components/delete_blob_modal.vue` - [ ] `app/assets/javascripts/repository/components/fork_sync_conflicts_modal.vue` - [ ] `app/assets/javascripts/repository/components/header_area/blob_controls.vue` - [ ] `app/assets/javascripts/repository/components/table/row.vue` - [ ] `app/assets/javascripts/repository/components/tree_content.vue` - [ ] `app/assets/javascripts/repository/components/upload_blob_modal.vue` - [ ] `app/assets/javascripts/repository/pages/blob_edit_header.vue` Please review the violations and either address them or add a reason for disabling them. ### Implementation plan - [ ] Remove the files from the `.eslint_todo/vue-no-unused-properties.mjs` todo file. - [ ] Go through each violation in the files. > [!important] > Keep in mind that `vue/no-unused-properties` reports properties and methods that are not > used within the component they are defined in. These might still be used in the parent > component or elsewhere in the codebase so you'll want to make sure the offenses are > true-positives before addressing them. - [ ] If the violation is a false-positive, you have two options: - [ ] If the property or method is part of the component's public API (eg it is being called from outside of the component), you'll want to flag it as such using the `expose` property: ```js export default { // ... expose: ['show'], methods: { show() { this.$refs.modal.show(); }, } } ``` - [ ] If the property or method is used implicitly (eg via a mixin or component inheritance), ignore the violation inline along with a reason for why it needs to be ignored, eg: ```js export default { // ... computed: { // eslint-disable-next-line vue/no-unused-properties -- tracking() is used by the `Tracking` mixin tracking() { return {/* ... */}; }, } } ``` - [ ] If the violation is a true-positive, delete the offending property or method. Support contact: @pgascouvaillancourt
issue