Skip to content

build: change eslint configuration #101

build: change eslint configuration

build: change eslint configuration #101

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

github-actions.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 10 warnings
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
@frames.js/render#lint: command (/home/runner/work/frames.js/frames.js/packages/render) /tmp/yarn--1712130785828-0.554503639511964/yarn run lint exited (1)
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/render#build: command (/home/runner/work/frames.js/frames.js/packages/render) /tmp/yarn--1712130786868-0.3053924637091978/yarn run build exited (1)
typecheck
Type 'string | null' is not assignable to type 'string'.
typecheck
Type 'string | null' is not assignable to type 'string'.
typecheck
Type 'string | undefined' is not assignable to type 'string'.
typecheck
Type 'string | null' is not assignable to type 'string'.
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