diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-10-16 14:06:49 +0200 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-10-16 22:11:59 +0200 |
commit | e8c1e2c611e6cc783e45abc036ee9d55d3a426d8 (patch) | |
tree | 6b4f1f6868a9734f9c589a058a9e716fecaef421 /apps/comments | |
parent | 5be832344eacb8328600d256c3090671c3f582d2 (diff) | |
download | nextcloud-server-e8c1e2c611e6cc783e45abc036ee9d55d3a426d8.tar.gz nextcloud-server-e8c1e2c611e6cc783e45abc036ee9d55d3a426d8.zip |
fix(code-style): Adjust JS code to our code style
This resolves 68 ESLint warnings about invalid code style.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps/comments')
-rw-r--r-- | apps/comments/src/comments-activity-tab.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/comments/src/comments-activity-tab.ts b/apps/comments/src/comments-activity-tab.ts index f38484d25e7..f092f2b8f5b 100644 --- a/apps/comments/src/comments-activity-tab.ts +++ b/apps/comments/src/comments-activity-tab.ts @@ -24,7 +24,7 @@ export function registerCommentsPlugins() { if (!ActivityTabPluginView) { const { default: ActivityCommentAction } = await import('./views/ActivityCommentAction.vue') - /** @ts-expect-error Types are broken for Vue2 */ + // @ts-expect-error Types are broken for Vue2 ActivityTabPluginView = Vue.extend(ActivityCommentAction) } ActivityTabPluginInstance = new ActivityTabPluginView({ @@ -50,7 +50,7 @@ export function registerCommentsPlugins() { const { data: comments } = await getComments({ resourceType: 'files', resourceId: fileInfo.id }, { limit, offset }) logger.debug('Loaded comments', { fileInfo, comments }) const { default: CommentView } = await import('./views/ActivityCommentEntry.vue') - /** @ts-expect-error Types are broken for Vue2 */ + // @ts-expect-error Types are broken for Vue2 const CommentsViewObject = Vue.extend(CommentView) return comments.map((comment) => ({ |