feat: env management commands #63
Annotations
11 errors and 10 warnings
|
Run npm run lint:
source/commands/env/copy.tsx#L108
Unexpected any. Specify a different type
|
Run npm run lint:
source/commands/env/member.tsx#L102
Unexpected any. Specify a different type
|
Run npm run lint:
source/commands/env/select.tsx#L57
Unexpected any. Specify a different type
|
Run npm run lint:
source/components/LoginFlow.tsx#L48
Unexpected any. Specify a different type
|
Run npm run lint:
source/components/SelectEnvironment.tsx#L28
Unexpected any. Specify a different type
|
Run npm run lint:
source/components/SelectOrganization.tsx#L31
Unexpected any. Specify a different type
|
Run npm run lint:
source/components/SelectProject.tsx#L26
Unexpected any. Specify a different type
|
Run npm run lint:
source/hooks/useEnvironmentApi.ts#L50
Unexpected any. Specify a different type
|
Run npm run lint:
source/hooks/useMemberApi.ts#L4
Unexpected any. Specify a different type
|
Run npm run lint:
source/hooks/useRolesApi.ts#L9
Unexpected any. Specify a different type
|
Run npm run lint:
source/commands/env/copy.tsx#L175
React Hook useEffect has missing dependencies: 'conflictStrategy', 'envDescription', 'envId', 'envKey', 'envName', 'handleEnvCopy', and 'scope'. Either include them or remove the dependency array
|
Run npm run lint:
source/commands/env/copy.tsx#L203
React Hook useEffect has a missing dependency: 'getApiKeyScope'. Either include it or remove the dependency array
|
Run npm run lint:
source/commands/env/copy.tsx#L228
React Hook useEffect has a missing dependency: 'getApiKeyScope'. Either include it or remove the dependency array
|
Run npm run lint:
source/commands/env/member.tsx#L100
React Hook useEffect has a missing dependency: 'getApiKeyScope'. Either include it or remove the dependency array
|
Run npm run lint:
source/commands/env/member.tsx#L128
'_secret' is defined but never used
|
Run npm run lint:
source/components/EnvironmentSelection.tsx#L104
React Hook useEffect has missing dependencies: 'cookie', 'getApiKeyScope', 'getEnvironment', 'getOrg', 'onComplete', and 'onError'. Either include them or remove the dependency array. If 'onError' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Run npm run lint:
source/components/LoginFlow.tsx#L58
React Hook useEffect has missing dependencies: 'getLogin', 'onError', and 'onSuccess'. Either include them or remove the dependency array. If 'onSuccess' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Run npm run lint:
source/components/SelectEnvironment.tsx#L53
React Hook useEffect has missing dependencies: 'activeProject.label', 'activeProject.value', 'getEnvironments', and 'onError'. Either include them or remove the dependency array. If 'onError' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Run npm run lint:
source/components/SelectOrganization.tsx#L72
React Hook useEffect has missing dependencies: 'getOrgs', 'onComplete', 'onError', and 'workspace'. Either include them or remove the dependency array. If 'onError' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Run npm run lint:
source/components/SelectProject.tsx#L53
React Hook useEffect has missing dependencies: 'getProjects' and 'onError'. Either include them or remove the dependency array. If 'onError' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Loading