ci: Fix lint setup in chat package (no-changelog) (#8275)

This commit is contained in:
Iván Ovejero
2024-01-09 16:37:05 +01:00
committed by GitHub
parent d1ca368c7d
commit d5dcbbf8e5
15 changed files with 17 additions and 67 deletions

View File

@@ -1,10 +1,10 @@
<script lang="ts" setup>
/* eslint-disable @typescript-eslint/naming-convention */
import type { ChatMessage } from '@n8n/chat/types';
import type { PropType } from 'vue';
import { computed, toRefs } from 'vue';
import VueMarkdown from 'vue-markdown-render';
import hljs from 'highlight.js/lib/core';
import type { ChatMessage } from '@n8n/chat/types';
const props = defineProps({
message: {
@@ -41,11 +41,7 @@ const markdownOptions = {
<template>
<div class="chat-message" :class="classes">
<slot>
<vue-markdown
class="chat-message-markdown"
:source="messageText"
:options="markdownOptions"
/>
<VueMarkdown class="chat-message-markdown" :source="messageText" :options="markdownOptions" />
</slot>
</div>
</template>