Skip to content

improvement: create a snippet resolver that caches the api definition… #5246

improvement: create a snippet resolver that caches the api definition…

improvement: create a snippet resolver that caches the api definition… #5246

Triggered via push August 1, 2024 14:54
Status Failure
Total duration 4m 52s
Billable time 17m
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 2 warnings
lint: packages/ui/app/src/api-playground/utils.ts#L131
React Hook "useState" is called in function "stringifyFetch" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
lint: packages/ui/app/src/api-playground/utils.ts#L153
React Hook "useEffect" is called in function "stringifyFetch" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
lint: packages/ui/app/src/api-playground/utils.ts#L160
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint: packages/ui/app/src/api-playground/utils.ts#L268
React Hook "useState" is called in function "stringifyPythonRequests" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
lint: packages/ui/app/src/api-playground/utils.ts#L290
React Hook "useEffect" is called in function "stringifyPythonRequests" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
lint: packages/ui/app/src/api-playground/utils.ts#L297
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint
@fern-ui/ui#lint:eslint: command (/home/runner/work/fern-platform/fern-platform/packages/ui/app) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint:eslint exited (1)
lint
Process completed with exit code 1.
lint: packages/ui/app/src/api-playground/utils.ts#L161
React Hook useEffect has a missing dependency: 'resolver'. Either include it or remove the dependency array
lint: packages/ui/app/src/api-playground/utils.ts#L298
React Hook useEffect has a missing dependency: 'resolver'. Either include it or remove the dependency array