mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-30 11:08:59 +00:00
chore(deps): update dependency @antfu/eslint-config to v4.1.0 (#4780)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: qwerty287 <qwerty287@posteo.de>
This commit is contained in:
parent
616a1d9e13
commit
115135b3f4
38 changed files with 86 additions and 45 deletions
|
@ -86,7 +86,7 @@ importers:
|
|||
devDependencies:
|
||||
'@antfu/eslint-config':
|
||||
specifier: ^4.0.0
|
||||
version: 4.0.1(@typescript-eslint/utils@8.21.0(eslint@9.19.0(jiti@2.4.2))(typescript@5.7.3))(@vue/compiler-sfc@3.5.13)(eslint@9.19.0(jiti@2.4.2))(typescript@5.7.3)(vitest@3.0.4(@types/debug@4.1.12)(@types/node@22.10.10)(jiti@2.4.2)(jsdom@26.0.0)(lightningcss@1.29.1)(stylus@0.57.0)(yaml@2.7.0))
|
||||
version: 4.1.0(@typescript-eslint/utils@8.21.0(eslint@9.19.0(jiti@2.4.2))(typescript@5.7.3))(@vue/compiler-sfc@3.5.13)(eslint@9.19.0(jiti@2.4.2))(typescript@5.7.3)(vitest@3.0.4(@types/debug@4.1.12)(@types/node@22.10.10)(jiti@2.4.2)(jsdom@26.0.0)(lightningcss@1.29.1)(stylus@0.57.0)(yaml@2.7.0))
|
||||
'@eslint/js':
|
||||
specifier: ^9.17.0
|
||||
version: 9.19.0
|
||||
|
@ -176,8 +176,8 @@ packages:
|
|||
resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==}
|
||||
engines: {node: '>=6.0.0'}
|
||||
|
||||
'@antfu/eslint-config@4.0.1':
|
||||
resolution: {integrity: sha512-9M5nb0UoAeujJ5UX7CrO1RvGUtMLpnNLD2Hmh38j+l5i+MlbuXuEQ/6Sr+sWQsUlCKhcpMC1cG3uW6cGCRYrSw==}
|
||||
'@antfu/eslint-config@4.1.0':
|
||||
resolution: {integrity: sha512-2yainF3mBykqzsxXbHYGuLwm60sRRzQqJdLJd2IfESIGkkIkQfUI3IEGTANGpdWSmiC9jhICP7Y8yY+TSKGUQg==}
|
||||
hasBin: true
|
||||
peerDependencies:
|
||||
'@eslint-react/eslint-plugin': ^1.19.0
|
||||
|
@ -3315,7 +3315,7 @@ snapshots:
|
|||
'@jridgewell/gen-mapping': 0.3.8
|
||||
'@jridgewell/trace-mapping': 0.3.25
|
||||
|
||||
'@antfu/eslint-config@4.0.1(@typescript-eslint/utils@8.21.0(eslint@9.19.0(jiti@2.4.2))(typescript@5.7.3))(@vue/compiler-sfc@3.5.13)(eslint@9.19.0(jiti@2.4.2))(typescript@5.7.3)(vitest@3.0.4(@types/debug@4.1.12)(@types/node@22.10.10)(jiti@2.4.2)(jsdom@26.0.0)(lightningcss@1.29.1)(stylus@0.57.0)(yaml@2.7.0))':
|
||||
'@antfu/eslint-config@4.1.0(@typescript-eslint/utils@8.21.0(eslint@9.19.0(jiti@2.4.2))(typescript@5.7.3))(@vue/compiler-sfc@3.5.13)(eslint@9.19.0(jiti@2.4.2))(typescript@5.7.3)(vitest@3.0.4(@types/debug@4.1.12)(@types/node@22.10.10)(jiti@2.4.2)(jsdom@26.0.0)(lightningcss@1.29.1)(stylus@0.57.0)(yaml@2.7.0))':
|
||||
dependencies:
|
||||
'@antfu/install-pkg': 1.0.0
|
||||
'@clack/prompts': 0.9.1
|
||||
|
|
|
@ -30,7 +30,8 @@
|
|||
<script lang="ts" setup>
|
||||
import type { RouteLocationRaw } from 'vue-router';
|
||||
|
||||
import Icon, { type IconNames } from '~/components/atomic/Icon.vue';
|
||||
import Icon from '~/components/atomic/Icon.vue';
|
||||
import type { IconNames } from '~/components/atomic/Icon.vue';
|
||||
|
||||
defineProps<{
|
||||
icon?: IconNames;
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
import '~/style/prism.css';
|
||||
|
||||
import Prism from 'prismjs';
|
||||
import { computed, defineComponent, h, toRef, type VNode } from 'vue';
|
||||
import { computed, defineComponent, h, toRef } from 'vue';
|
||||
import type { VNode } from 'vue';
|
||||
|
||||
declare type Data = Record<string, unknown>;
|
||||
|
||||
|
|
|
@ -115,7 +115,8 @@ import { useStorage } from '@vueuse/core';
|
|||
import { AnsiUp } from 'ansi_up';
|
||||
import { decode } from 'js-base64';
|
||||
import { debounce } from 'lodash';
|
||||
import { computed, inject, nextTick, onBeforeUnmount, onMounted, ref, toRef, watch, type Ref } from 'vue';
|
||||
import { computed, inject, nextTick, onBeforeUnmount, onMounted, ref, toRef, watch } from 'vue';
|
||||
import type { Ref } from 'vue';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { useRoute } from 'vue-router';
|
||||
|
||||
|
|
|
@ -116,7 +116,8 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed, inject, ref, toRef, type Ref } from 'vue';
|
||||
import { computed, inject, ref, toRef } from 'vue';
|
||||
import type { Ref } from 'vue';
|
||||
|
||||
import Badge from '~/components/atomic/Badge.vue';
|
||||
import Icon from '~/components/atomic/Icon.vue';
|
||||
|
@ -124,7 +125,8 @@ import Panel from '~/components/layout/Panel.vue';
|
|||
import PipelineStatusIcon from '~/components/repo/pipeline/PipelineStatusIcon.vue';
|
||||
import PipelineStepDuration from '~/components/repo/pipeline/PipelineStepDuration.vue';
|
||||
import usePipeline from '~/compositions/usePipeline';
|
||||
import { StepType, type Pipeline, type PipelineConfig, type PipelineStep } from '~/lib/api/types';
|
||||
import { StepType } from '~/lib/api/types';
|
||||
import type { Pipeline, PipelineConfig, PipelineStep } from '~/lib/api/types';
|
||||
|
||||
const props = defineProps<{
|
||||
pipeline: Pipeline;
|
||||
|
|
|
@ -64,7 +64,8 @@ import CheckboxesField from '~/components/form/CheckboxesField.vue';
|
|||
import type { CheckboxOption } from '~/components/form/form.types';
|
||||
import InputField from '~/components/form/InputField.vue';
|
||||
import TextField from '~/components/form/TextField.vue';
|
||||
import { WebhookEvents, type Secret } from '~/lib/api/types';
|
||||
import { WebhookEvents } from '~/lib/api/types';
|
||||
import type { Secret } from '~/lib/api/types';
|
||||
|
||||
const props = defineProps<{
|
||||
modelValue: Partial<Secret>;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import { computed, onBeforeUnmount, onMounted, ref, watch, type Ref } from 'vue';
|
||||
import { computed, onBeforeUnmount, onMounted, ref, watch } from 'vue';
|
||||
import type { Ref } from 'vue';
|
||||
|
||||
export function useElapsedTime(running: Ref<boolean>, startTime: Ref<number | undefined>) {
|
||||
const time = ref<number | undefined>(startTime.value);
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import { defineStore } from 'pinia';
|
||||
import { computed, reactive, type Ref } from 'vue';
|
||||
import { computed, reactive } from 'vue';
|
||||
import type { Ref } from 'vue';
|
||||
|
||||
import useApiClient from '~/compositions/useApiClient';
|
||||
import type { Forge } from '~/lib/api/types';
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import Notifications, { notify, type NotificationsOptions } from '@kyvg/vue3-notification';
|
||||
import Notifications, { notify } from '@kyvg/vue3-notification';
|
||||
import type { NotificationsOptions } from '@kyvg/vue3-notification';
|
||||
|
||||
export const notifications = Notifications;
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import { shallowMount } from '@vue/test-utils';
|
||||
import { describe, expect, it } from 'vitest';
|
||||
import { watch, type Ref } from 'vue';
|
||||
import { watch } from 'vue';
|
||||
import type { Ref } from 'vue';
|
||||
|
||||
import { usePagination } from './usePaginate';
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import { useInfiniteScroll } from '@vueuse/core';
|
||||
import { onMounted, ref, watch, type Ref, type UnwrapRef } from 'vue';
|
||||
import { onMounted, ref, watch } from 'vue';
|
||||
import type { Ref, UnwrapRef } from 'vue';
|
||||
|
||||
const defaultPageSize = 50;
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import { emojify } from 'node-emoji';
|
||||
import { computed, type Ref } from 'vue';
|
||||
import { computed } from 'vue';
|
||||
import type { Ref } from 'vue';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
|
||||
import { useDate } from '~/compositions/useDate';
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import Fuse from 'fuse.js';
|
||||
import { computed, type Ref } from 'vue';
|
||||
import { computed } from 'vue';
|
||||
import type { Ref } from 'vue';
|
||||
|
||||
import type { Repo } from '~/lib/api/types';
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import { useRouter, type RouteLocationRaw } from 'vue-router';
|
||||
import { useRouter } from 'vue-router';
|
||||
import type { RouteLocationRaw } from 'vue-router';
|
||||
|
||||
export function useRouteBack(to: RouteLocationRaw) {
|
||||
const router = useRouter();
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import type { Component } from 'vue';
|
||||
import { createRouter, createWebHistory, type RouteRecordRaw } from 'vue-router';
|
||||
import { createRouter, createWebHistory } from 'vue-router';
|
||||
import type { RouteRecordRaw } from 'vue-router';
|
||||
|
||||
import useAuthentication from '~/compositions/useAuthentication';
|
||||
import useConfig from '~/compositions/useConfig';
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import { defineStore } from 'pinia';
|
||||
import { computed, reactive, ref, type Ref } from 'vue';
|
||||
import { computed, reactive, ref } from 'vue';
|
||||
import type { Ref } from 'vue';
|
||||
|
||||
import useApiClient from '~/compositions/useApiClient';
|
||||
import type { Pipeline, PipelineFeed, PipelineWorkflow } from '~/lib/api/types';
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import { defineStore } from 'pinia';
|
||||
import { computed, reactive, ref, type Ref } from 'vue';
|
||||
import { computed, reactive, ref } from 'vue';
|
||||
import type { Ref } from 'vue';
|
||||
|
||||
import useApiClient from '~/compositions/useApiClient';
|
||||
import type { Repo } from '~/lib/api/types';
|
||||
|
|
|
@ -9,7 +9,8 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { inject, type Ref } from 'vue';
|
||||
import { inject } from 'vue';
|
||||
import type { Ref } from 'vue';
|
||||
|
||||
import AgentManager from '~/components/agent/AgentManager.vue';
|
||||
import useApiClient from '~/compositions/useApiClient';
|
||||
|
|
|
@ -34,7 +34,8 @@
|
|||
|
||||
<script lang="ts" setup>
|
||||
import { cloneDeep } from 'lodash';
|
||||
import { computed, inject, ref, type Ref } from 'vue';
|
||||
import { computed, inject, ref } from 'vue';
|
||||
import type { Ref } from 'vue';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
|
||||
import Button from '~/components/atomic/Button.vue';
|
||||
|
|
|
@ -25,7 +25,8 @@
|
|||
|
||||
<script lang="ts" setup>
|
||||
import { cloneDeep } from 'lodash';
|
||||
import { computed, inject, ref, type Ref } from 'vue';
|
||||
import { computed, inject, ref } from 'vue';
|
||||
import type { Ref } from 'vue';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
|
||||
import Button from '~/components/atomic/Button.vue';
|
||||
|
@ -36,7 +37,8 @@ import useApiClient from '~/compositions/useApiClient';
|
|||
import { useAsyncAction } from '~/compositions/useAsyncAction';
|
||||
import useNotifications from '~/compositions/useNotifications';
|
||||
import { usePagination } from '~/compositions/usePaginate';
|
||||
import { WebhookEvents, type Org, type Secret } from '~/lib/api/types';
|
||||
import { WebhookEvents } from '~/lib/api/types';
|
||||
import type { Org, Secret } from '~/lib/api/types';
|
||||
|
||||
const emptySecret: Partial<Secret> = {
|
||||
name: '',
|
||||
|
|
|
@ -6,7 +6,8 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed, inject, toRef, type Ref } from 'vue';
|
||||
import { computed, inject, toRef } from 'vue';
|
||||
import type { Ref } from 'vue';
|
||||
|
||||
import PipelineList from '~/components/repo/pipeline/PipelineList.vue';
|
||||
import type { Pipeline, Repo, RepoPermissions } from '~/lib/api/types';
|
||||
|
|
|
@ -21,7 +21,8 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed, inject, watch, type Ref } from 'vue';
|
||||
import { computed, inject, watch } from 'vue';
|
||||
import type { Ref } from 'vue';
|
||||
|
||||
import Badge from '~/components/atomic/Badge.vue';
|
||||
import Icon from '~/components/atomic/Icon.vue';
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { inject, type Ref } from 'vue';
|
||||
import { inject } from 'vue';
|
||||
import type { Ref } from 'vue';
|
||||
|
||||
import PipelineList from '~/components/repo/pipeline/PipelineList.vue';
|
||||
import type { Pipeline, Repo, RepoPermissions } from '~/lib/api/types';
|
||||
|
|
|
@ -6,7 +6,8 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed, inject, toRef, type Ref } from 'vue';
|
||||
import { computed, inject, toRef } from 'vue';
|
||||
import type { Ref } from 'vue';
|
||||
|
||||
import PipelineList from '~/components/repo/pipeline/PipelineList.vue';
|
||||
import type { Pipeline, Repo, RepoPermissions } from '~/lib/api/types';
|
||||
|
|
|
@ -26,7 +26,8 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { inject, watch, type Ref } from 'vue';
|
||||
import { inject, watch } from 'vue';
|
||||
import type { Ref } from 'vue';
|
||||
|
||||
import Icon from '~/components/atomic/Icon.vue';
|
||||
import ListItem from '~/components/atomic/ListItem.vue';
|
||||
|
|
|
@ -62,7 +62,8 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed, inject, toRef, type Ref } from 'vue';
|
||||
import { computed, inject, toRef } from 'vue';
|
||||
import type { Ref } from 'vue';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { useRoute, useRouter } from 'vue-router';
|
||||
|
||||
|
|
|
@ -7,7 +7,8 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { inject, type Ref } from 'vue';
|
||||
import { inject } from 'vue';
|
||||
import type { Ref } from 'vue';
|
||||
|
||||
import Panel from '~/components/layout/Panel.vue';
|
||||
import type { Pipeline } from '~/lib/api/types';
|
||||
|
|
|
@ -18,7 +18,8 @@
|
|||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { computed, inject, ref, type Ref } from 'vue';
|
||||
import { computed, inject, ref } from 'vue';
|
||||
import type { Ref } from 'vue';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
|
||||
import Button from '~/components/atomic/Button.vue';
|
||||
|
|
|
@ -48,7 +48,8 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { inject, type Ref } from 'vue';
|
||||
import { inject } from 'vue';
|
||||
import type { Ref } from 'vue';
|
||||
|
||||
import DocsLink from '~/components/atomic/DocsLink.vue';
|
||||
import Icon from '~/components/atomic/Icon.vue';
|
||||
|
|
|
@ -100,7 +100,8 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed, inject, onBeforeUnmount, onMounted, ref, toRef, watch, type Ref } from 'vue';
|
||||
import { computed, inject, onBeforeUnmount, onMounted, ref, toRef, watch } from 'vue';
|
||||
import type { Ref } from 'vue';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { useRoute, useRouter } from 'vue-router';
|
||||
|
||||
|
|
|
@ -42,7 +42,8 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed, inject, type Ref } from 'vue';
|
||||
import { computed, inject } from 'vue';
|
||||
import type { Ref } from 'vue';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { useRouter } from 'vue-router';
|
||||
|
||||
|
|
|
@ -41,7 +41,8 @@
|
|||
|
||||
<script lang="ts" setup>
|
||||
import { useStorage } from '@vueuse/core';
|
||||
import { computed, inject, onMounted, ref, watch, type Ref } from 'vue';
|
||||
import { computed, inject, onMounted, ref, watch } from 'vue';
|
||||
import type { Ref } from 'vue';
|
||||
|
||||
import type { SelectOption } from '~/components/form/form.types';
|
||||
import InputField from '~/components/form/InputField.vue';
|
||||
|
|
|
@ -105,7 +105,8 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { computed, inject, ref, type Ref } from 'vue';
|
||||
import { computed, inject, ref } from 'vue';
|
||||
import type { Ref } from 'vue';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
|
||||
import Button from '~/components/atomic/Button.vue';
|
||||
|
|
|
@ -150,7 +150,8 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { inject, onMounted, ref, type Ref } from 'vue';
|
||||
import { inject, onMounted, ref } from 'vue';
|
||||
import type { Ref } from 'vue';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
|
||||
import Button from '~/components/atomic/Button.vue';
|
||||
|
@ -166,7 +167,8 @@ import useApiClient from '~/compositions/useApiClient';
|
|||
import { useAsyncAction } from '~/compositions/useAsyncAction';
|
||||
import useAuthentication from '~/compositions/useAuthentication';
|
||||
import useNotifications from '~/compositions/useNotifications';
|
||||
import { RepoRequireApproval, RepoVisibility, WebhookEvents, type Repo, type RepoSettings } from '~/lib/api/types';
|
||||
import { RepoRequireApproval, RepoVisibility, WebhookEvents } from '~/lib/api/types';
|
||||
import type { Repo, RepoSettings } from '~/lib/api/types';
|
||||
import { useRepoStore } from '~/store/repos';
|
||||
|
||||
const apiClient = useApiClient();
|
||||
|
|
|
@ -30,7 +30,8 @@
|
|||
|
||||
<script lang="ts" setup>
|
||||
import { cloneDeep } from 'lodash';
|
||||
import { computed, inject, ref, type Ref } from 'vue';
|
||||
import { computed, inject, ref } from 'vue';
|
||||
import type { Ref } from 'vue';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
|
||||
import Button from '~/components/atomic/Button.vue';
|
||||
|
|
|
@ -28,7 +28,8 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { inject, onMounted, type Ref } from 'vue';
|
||||
import { inject, onMounted } from 'vue';
|
||||
import type { Ref } from 'vue';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { useRouter } from 'vue-router';
|
||||
|
||||
|
|
|
@ -25,7 +25,8 @@
|
|||
|
||||
<script lang="ts" setup>
|
||||
import { cloneDeep } from 'lodash';
|
||||
import { computed, inject, ref, type Ref } from 'vue';
|
||||
import { computed, inject, ref } from 'vue';
|
||||
import type { Ref } from 'vue';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
|
||||
import Button from '~/components/atomic/Button.vue';
|
||||
|
@ -36,7 +37,8 @@ import useApiClient from '~/compositions/useApiClient';
|
|||
import { useAsyncAction } from '~/compositions/useAsyncAction';
|
||||
import useNotifications from '~/compositions/useNotifications';
|
||||
import { usePagination } from '~/compositions/usePaginate';
|
||||
import { WebhookEvents, type Repo, type Secret } from '~/lib/api/types';
|
||||
import { WebhookEvents } from '~/lib/api/types';
|
||||
import type { Repo, Secret } from '~/lib/api/types';
|
||||
|
||||
const emptySecret: Partial<Secret> = {
|
||||
name: '',
|
||||
|
|
|
@ -41,7 +41,8 @@ import { useAsyncAction } from '~/compositions/useAsyncAction';
|
|||
import useAuthentication from '~/compositions/useAuthentication';
|
||||
import useNotifications from '~/compositions/useNotifications';
|
||||
import { usePagination } from '~/compositions/usePaginate';
|
||||
import { WebhookEvents, type Secret } from '~/lib/api/types';
|
||||
import { WebhookEvents } from '~/lib/api/types';
|
||||
import type { Secret } from '~/lib/api/types';
|
||||
|
||||
const emptySecret: Partial<Secret> = {
|
||||
name: '',
|
||||
|
|
Loading…
Reference in a new issue