chore(web): new lint setup (#30020)

Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
This commit is contained in:
Stephen Zhou
2025-12-23 16:58:55 +08:00
committed by GitHub
parent 9701a2994b
commit f2842da397
3356 changed files with 85046 additions and 81278 deletions

View File

@ -1,7 +1,7 @@
import { useCallback } from 'react'
import { useStore as usePluginDependenciesStore } from './store'
import { useMutationCheckDependencies } from '@/service/use-plugins'
import { useCheckPipelineDependencies } from '@/service/use-pipeline'
import { useMutationCheckDependencies } from '@/service/use-plugins'
import { useStore as usePluginDependenciesStore } from './store'
export const usePluginDependencies = () => {
const { mutateAsync: checkWorkflowDependencies } = useMutationCheckDependencies()

View File

@ -1,6 +1,6 @@
import { useCallback } from 'react'
import { useStore } from './store'
import InstallBundle from '@/app/components/plugins/install-plugin/install-bundle'
import { useStore } from './store'
const PluginDependency = () => {
const dependencies = useStore(s => s.dependencies)

View File

@ -1,5 +1,5 @@
import { create } from 'zustand'
import type { Dependency } from '@/app/components/plugins/types'
import { create } from 'zustand'
type Shape = {
dependencies: Dependency[]