refactor(editor): Improve linting for component and prop names (no-changelog) (#8169)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-12-28 09:49:58 +01:00
committed by GitHub
parent 639afcd7a5
commit 68cff4c59e
304 changed files with 3428 additions and 3516 deletions

View File

@@ -1,16 +1,16 @@
<template>
<div :id="id" :class="classes" role="alert" @click="onClick">
<div class="notice-content">
<n8n-text size="small" :compact="true">
<N8nText size="small" :compact="true">
<slot>
<span
:class="showFullContent ? $style['expanded'] : $style['truncated']"
:id="`${id}-content`"
:class="showFullContent ? $style['expanded'] : $style['truncated']"
role="region"
v-html="sanitizeHtml(showFullContent ? fullContent : content)"
/>
</slot>
</n8n-text>
</N8nText>
</div>
</div>
</template>
@@ -23,8 +23,11 @@ import Locale from '../../mixins/locale';
import { uid } from '../../utils';
export default defineComponent({
name: 'n8n-notice',
name: 'N8nNotice',
directives: {},
components: {
N8nText,
},
mixins: [Locale],
props: {
id: {
@@ -44,9 +47,6 @@ export default defineComponent({
default: '',
},
},
components: {
N8nText,
},
data() {
return {
showFullContent: false,