Skip to content

Commit 44917b5

Browse files
committed
chore(legacy): fix @stylistic/exp-list-style ESLint rule
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
1 parent 0028d12 commit 44917b5

File tree

9 files changed

+19
-10
lines changed

9 files changed

+19
-10
lines changed

apps/files/src/components/VirtualList.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,12 @@ export default defineComponent({
383383
this.$nextTick(() => {
384384
this.$el.scrollTop = scrollTop
385385
logger.debug(`VirtualList: scrolling to index ${index}`, {
386-
clampedIndex, scrollTop, columnCount: this.columnCount, total: this.totalRowCount, visibleRows: this.visibleRows, beforeHeight: this.beforeHeight,
386+
clampedIndex,
387+
scrollTop,
388+
columnCount: this.columnCount,
389+
total: this.totalRowCount,
390+
visibleRows: this.visibleRows,
391+
beforeHeight: this.beforeHeight,
387392
})
388393
})
389394
},

apps/files_sharing/src/components/NewFileRequestDialog.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,8 +356,7 @@ export default defineComponent({
356356
value: this.emails,
357357
key: 'emails',
358358
scope: 'shareWith',
359-
},
360-
{
359+
}, {
361360
value: true,
362361
key: 'enabled',
363362
scope: 'fileRequest',

apps/files_sharing/src/components/NewFileRequestDialog/NewFileRequestDialogFinish.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ export default defineComponent({
112112
113113
setup() {
114114
return {
115-
n, t,
115+
n,
116+
t,
116117
}
117118
},
118119

apps/files_sharing/src/components/SidebarTabExternal/SidebarTabExternalSectionLegacy.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111

1212
<script lang="ts" setup>
1313
import {
14-
type Component, type PropType,
14+
type Component,
15+
type PropType,
1516
1617
computed,
1718
} from 'vue'

core/src/OC/dialogs.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -684,8 +684,7 @@ const Dialogs = {
684684
}
685685
$(dialogId).ocdialog('close')
686686
},
687-
},
688-
{
687+
}, {
689688
text: t('core', 'Continue'),
690689
classes: 'continue',
691690
click: function() {

core/src/OC/msg.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ export default {
9797
return
9898
}
9999

100+
// eslint-disable-next-line @stylistic/exp-list-style
100101
const animation = el.animate?.(
101102
[
102103
{ opacity: 1 },

core/src/OCP/toast.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55

66
import {
77
showError,
8-
showInfo, showMessage,
8+
showInfo,
9+
showMessage,
910
showSuccess,
1011
showWarning,
1112
} from '@nextcloud/dialogs'

core/src/views/PublicPageMenu.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ import { spawnDialog } from '@nextcloud/vue/functions/dialog'
4848
import {
4949
type Ref,
5050
51-
computed, ref,
51+
computed,
52+
ref,
5253
} from 'vue'
5354
import NcButton from '@nextcloud/vue/components/NcButton'
5455
import NcHeaderMenu from '@nextcloud/vue/components/NcHeaderMenu'

core/src/views/UnsupportedBrowser.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ export default {
9393
const version = list[id]
9494
const name = agents[id]?.browser
9595
return this.t('core', '{name} version {version} and above', {
96-
name, version,
96+
name,
97+
version,
9798
})
9899
}).filter((entry) => entry !== null)
99100
},

0 commit comments

Comments
 (0)