Skip to content

build: change eslint configuration #76

build: change eslint configuration

build: change eslint configuration #76

Triggered via pull request April 2, 2024 10:16
Status Failure
Total duration 4m 31s
Artifacts

github-actions.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
lint: packages/frames.js/src/cloudflare-workers/index.test.tsx#L15
Missing "key" prop for element in array
lint: packages/frames.js/src/cloudflare-workers/index.ts#L2
Import in body of module; reorder to top
lint: packages/frames.js/src/cloudflare-workers/index.ts#L3
Import in body of module; reorder to top
lint: packages/frames.js/src/cloudflare-workers/index.ts#L4
Import in body of module; reorder to top
lint: packages/frames.js/src/cloudflare-workers/index.ts#L5
Import in body of module; reorder to top
lint
frames.js#lint: command (/home/runner/work/frames.js/frames.js/packages/frames.js) /tmp/yarn--1712053196750-0.48147039324743623/yarn run lint exited (1)
lint: packages/frames.js/src/cloudflare-workers/index.ts#L9
Import in body of module; reorder to top
lint: packages/frames.js/src/cloudflare-workers/index.ts#L10
Import in body of module; reorder to top
lint: packages/frames.js/src/cloudflare-workers/index.ts#L19
Unexpected undescribed directive comment. Include descriptions to explain why the comment is necessary
lint: packages/frames.js/src/cloudflare-workers/middleware.ts#L37
Unexpected any. Specify a different type
lint: packages/frames.js/src/cloudflare-workers/index.test.tsx#L10
Async arrow function has no 'await' expression
lint: packages/frames.js/src/cloudflare-workers/index.test.tsx#L38
Async arrow function has no 'await' expression
lint: packages/frames.js/src/cloudflare-workers/index.ts#L2
Import "types" is only used as types
lint: packages/frames.js/src/cloudflare-workers/index.ts#L4
`node:buffer` import should occur before import of `../core`
lint: packages/frames.js/src/cloudflare-workers/index.ts#L9
`@cloudflare/workers-types` type import should occur before import of `../core`
lint: packages/frames.js/src/cloudflare-workers/index.ts#L10
`../core/types` type import should occur before import of `./middleware`
lint: packages/frames.js/src/cloudflare-workers/test.types.tsx#L1
All imports in the declaration are only used as types. Use `import type`
lint: packages/frames.js/src/cloudflare-workers/test.types.tsx#L2
Import "types" is only used as types
lint: packages/frames.js/src/cloudflare-workers/test.types.tsx#L5
Async arrow function has no 'await' expression
lint: packages/frames.js/src/cloudflare-workers/test.types.tsx#L18
Async arrow function has no 'await' expression