refactor: Phase out TSLint in editor-ui (no-changelog) (#4935)

* 🔥 Remove `tslint.json`

* 🔥 Remove TSLint commands

* 🔥 Remove exceptions in `editor-ui`

* 🔥 Remove from `.npmignore`

* 🔥 Remove from `eslint-config`

* 🔥 Remove exception from `design-system`

* 🎨 Prettify

* 📦 Update pnpm-lock

* 🔥 Remove duplicate import

* 🔥 Remove exemption for `no-explicit-any`

* 👕 Inline `no-explicit-any` exemptions
This commit is contained in:
Iván Ovejero
2022-12-15 14:06:00 +01:00
committed by GitHub
parent efa4c56757
commit 0e4cda5763
32 changed files with 69 additions and 165 deletions

View File

@@ -259,7 +259,10 @@
</div>
</el-col>
</el-row>
<div v-if="workflowSettings.executionTimeout > -1" data-test-id="workflow-settings-timeout-form">
<div
v-if="workflowSettings.executionTimeout > -1"
data-test-id="workflow-settings-timeout-form"
>
<el-row>
<el-col :span="10" class="setting-name">
{{ $locale.baseText('workflowSettings.timeoutAfter') + ':' }}
@@ -334,7 +337,11 @@ import {
WorkflowCallerPolicyDefaultOption,
} from '@/Interface';
import Modal from './Modal.vue';
import {EnterpriseEditionFeature, PLACEHOLDER_EMPTY_WORKFLOW_ID, WORKFLOW_SETTINGS_MODAL_KEY} from '../constants';
import {
EnterpriseEditionFeature,
PLACEHOLDER_EMPTY_WORKFLOW_ID,
WORKFLOW_SETTINGS_MODAL_KEY,
} from '../constants';
import mixins from 'vue-typed-mixins';
@@ -409,7 +416,9 @@ export default mixins(externalHooks, genericHelpers, restApi, showMessage).exten
return this.workflowsStore.workflowId;
},
isWorkflowSharingEnabled(): boolean {
return this.settingsStore.isEnterpriseFeatureEnabled(EnterpriseEditionFeature.WorkflowSharing);
return this.settingsStore.isEnterpriseFeatureEnabled(
EnterpriseEditionFeature.WorkflowSharing,
);
},
},
async mounted() {