Create a function to get the public options for LabelImage #10560
node-ci.yml
on: pull_request
Matrix: Check for .changeset entries for all changed files
Matrix: Check builds for changes in size
Matrix: Cypress
Matrix: Lint, Typecheck, Format, and Test
Matrix: Publish npm snapshot
Annotations
4 errors
Lint, Typecheck, Format, and Test (ubuntu-latest, 20.x):
packages/perseus/src/types.ts#L30
There should be at least one empty line between import groups
|
Lint, Typecheck, Format, and Test (ubuntu-latest, 20.x):
packages/perseus/src/types.ts#L31
`@khanacademy/perseus-core` import should occur before type import of `./logging/log`
|
Lint, Typecheck, Format, and Test (ubuntu-latest, 20.x):
packages/perseus/src/types.ts#L31
All imports in the declaration are only used as types. Use `import type`
|
Lint, Typecheck, Format, and Test (ubuntu-latest, 20.x)
Error: Command failed: yarn lint "packages/perseus-core/src/index.ts" "packages/perseus-core/src/widgets/label-image/label-image-util.test.ts" "packages/perseus-core/src/widgets/label-image/label-image-util.ts" "packages/perseus/src/types.ts" "packages/perseus/src/widgets/label-image/label-image.tsx"
|