mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 02:51:14 +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
@@ -8,11 +8,8 @@
|
||||
@command="onCommand"
|
||||
@visible-change="onVisibleChange"
|
||||
>
|
||||
<span :class="{[$style.button]: true, [$style[theme]]: !!theme}">
|
||||
<component :is="$options.components.N8nIcon"
|
||||
icon="ellipsis-v"
|
||||
:size="iconSize"
|
||||
/>
|
||||
<span :class="{ [$style.button]: true, [$style[theme]]: !!theme }">
|
||||
<component :is="$options.components.N8nIcon" icon="ellipsis-v" :size="iconSize" />
|
||||
</span>
|
||||
<el-dropdown-menu slot="dropdown" data-test-id="action-toggle-dropdown">
|
||||
<el-dropdown-item
|
||||
@@ -21,7 +18,7 @@
|
||||
:command="action.value"
|
||||
:disabled="action.disabled"
|
||||
>
|
||||
{{action.label}}
|
||||
{{ action.label }}
|
||||
<div :class="$style.iconContainer">
|
||||
<component
|
||||
v-if="action.type === 'external-link'"
|
||||
@@ -66,8 +63,7 @@ export default Vue.extend({
|
||||
size: {
|
||||
type: String,
|
||||
default: 'medium',
|
||||
validator: (value: string): boolean =>
|
||||
['mini', 'small', 'medium'].includes(value),
|
||||
validator: (value: string): boolean => ['mini', 'small', 'medium'].includes(value),
|
||||
},
|
||||
iconSize: {
|
||||
type: String,
|
||||
@@ -75,8 +71,7 @@ export default Vue.extend({
|
||||
theme: {
|
||||
type: String,
|
||||
default: 'default',
|
||||
validator: (value: string): boolean =>
|
||||
['default', 'dark'].includes(value),
|
||||
validator: (value: string): boolean => ['default', 'dark'].includes(value),
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
|
||||
Reference in New Issue
Block a user