Skip to content

build: change eslint configuration #100

build: change eslint configuration

build: change eslint configuration #100

Triggered via pull request April 3, 2024 07:05
Status Failure
Total duration 3m 5s
Artifacts

github-actions.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 10 warnings
lint
@frames.js/render#lint: command (/home/runner/work/frames.js/frames.js/packages/render) /tmp/yarn--1712128055294-0.060526114064954006/yarn run lint exited (1)
lint: packages/render/src/farcaster/frames.tsx#L1
Imports "CastId" and "FrameActionMessage" are only used as types
lint: packages/render/src/farcaster/frames.tsx#L10
All imports in the declaration are only used as types. Use `import type`
lint: packages/render/src/farcaster/frames.tsx#L11
Dependency cycle via ./farcaster/index.js:2
lint: packages/render/src/farcaster/frames.tsx#L11
All imports in the declaration are only used as types. Use `import type`
lint: packages/render/src/farcaster/frames.tsx#L12
Dependency cycle detected
lint: packages/render/src/farcaster/frames.tsx#L12
All imports in the declaration are only used as types. Use `import type`
lint: packages/render/src/farcaster/frames.tsx#L13
'viem' should be listed in the project's dependencies. Run 'npm i -S viem' to add it
lint: packages/render/src/farcaster/frames.tsx#L15
An interface declaring no members is equivalent to its supertype
lint: packages/render/src/farcaster/frames.tsx#L83
Unsafe assignment of an `any` value
typecheck
frames.js#build: command (/home/runner/work/frames.js/frames.js/packages/frames.js) /tmp/yarn--1712128061053-0.7923104626467048/yarn run build exited (1)
typecheck
Object is possibly 'undefined'.
typecheck
Process completed with exit code 1.
lint: packages/frames.js/src/cloudflare-workers/index.ts#L80
Unexpected any. Specify a different type
lint: packages/frames.js/src/cloudflare-workers/index.ts#L80
Unexpected any. Specify a different type
lint: packages/frames.js/src/cloudflare-workers/index.ts#L92
Unexpected any. Specify a different type
lint: packages/frames.js/src/cloudflare-workers/index.ts#L92
Unexpected any. Specify a different type
lint: packages/frames.js/src/cloudflare-workers/index.ts#L95
Unexpected any. Specify a different type
lint: packages/frames.js/src/cloudflare-workers/index.ts#L95
Unexpected any. Specify a different type
lint: packages/frames.js/src/core/createFrames.test.ts#L46
Unexpected any. Specify a different type
lint: packages/frames.js/src/core/createFrames.test.ts#L68
Unexpected any. Specify a different type
lint: packages/frames.js/src/core/createFrames.test.ts#L93
Unexpected any. Specify a different type
lint: packages/frames.js/src/core/createFrames.test.ts#L99
Unexpected any. Specify a different type