mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
ci: Ensure that eslint runs on all frontend code (no-changelog) (#4602)
* ensure that eslint runs on all frontend code * remove tslint from `design-system` * enable prettier and eslint-prettier for `design-system` * Delete tslint.json * use a single editorconfig for the repo * enable prettier for all code in `design-system` * more linting fixes on design-system * ignore coverage for git and prettier * lintfix on editor-ui
This commit is contained in:
committed by
GitHub
parent
d96d6f11db
commit
13659d036f
@@ -1,12 +1,8 @@
|
||||
<template>
|
||||
<div :class="classes" role="alert">
|
||||
|
||||
<div :class="$style['message-section']">
|
||||
<div :class="$style.icon">
|
||||
<n8n-icon
|
||||
:icon="getIcon"
|
||||
:size="theme === 'secondary' ? 'medium' : 'large'"
|
||||
/>
|
||||
<n8n-icon :icon="getIcon" :size="theme === 'secondary' ? 'medium' : 'large'" />
|
||||
</div>
|
||||
<slot />
|
||||
<slot name="actions" />
|
||||
@@ -46,11 +42,7 @@ export default Vue.extend({
|
||||
},
|
||||
computed: {
|
||||
classes(): string[] {
|
||||
return [
|
||||
'n8n-callout',
|
||||
this.$style.callout,
|
||||
this.$style[this.theme],
|
||||
];
|
||||
return ['n8n-callout', this.$style.callout, this.$style[this.theme]];
|
||||
},
|
||||
getIcon(): string {
|
||||
if (Object.keys(CALLOUT_DEFAULT_ICONS).includes(this.theme)) {
|
||||
@@ -79,7 +71,8 @@ export default Vue.extend({
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.info, .custom {
|
||||
.info,
|
||||
.custom {
|
||||
border-color: var(--color-foreground-base);
|
||||
background-color: var(--color-background-light);
|
||||
color: var(--color-info);
|
||||
|
||||
Reference in New Issue
Block a user