whoops lint fix, js edition #47319
Annotations
12 errors and 11 warnings
typechecks:
shared-data/js/__tests__/liquidClassSchema.test.ts#L7
File '/home/runner/work/opentrons/opentrons/shared-data/liquid-class/schemas/1.json' is not listed within the file list of project '/home/runner/work/opentrons/opentrons/shared-data/tsconfig.json'. Projects must list all files or use an 'include' pattern.
|
typechecks
Process completed with exit code 2.
|
lint js:
app-shell/src/labware/validation.ts#L19
Unsafe argument of type `any` assigned to a parameter of type `boolean | object`
|
lint js:
app/src/App/hooks.ts#L57
Unsafe argument of type `any` assigned to a parameter of type `List<unknown> | null | undefined`
|
lint js:
app/src/App/hooks.ts#L57
Unsafe argument of type `any` assigned to a parameter of type `List<unknown>`
|
lint js:
app/src/DesignTokens/BorderRadius/BorderRadius.stories.tsx#L64
Unsafe argument of type `any` assigned to a parameter of type `{ [s: string]: unknown; } | ArrayLike<unknown>`
|
lint js:
app/src/DesignTokens/Colors/Colors.stories.tsx#L117
Unsafe argument of type `any` assigned to a parameter of type `{ [s: string]: unknown; } | ArrayLike<unknown>`
|
lint js:
app/src/DesignTokens/Spacing/Spacing.stories.tsx#L61
Unsafe argument of type `any` assigned to a parameter of type `{ [s: string]: unknown; } | ArrayLike<unknown>`
|
lint js:
app/src/assets/labware/getLabware.ts#L23
Unsafe argument of type `any` assigned to a parameter of type `ArrayLike<unknown> | { [s: string]: unknown; }`
|
lint js:
app/src/atoms/buttons/FloatingActionButton.stories.tsx#L13
Unsafe argument of type `any` assigned to a parameter of type `{}`
|
lint js:
app/src/atoms/buttons/MediumButton.stories.tsx#L13
Unsafe argument of type `any` assigned to a parameter of type `{}`
|
lint js:
app/src/local-resources/commands/hooks/useCommandTextString/utils/commandText/getLoadCommandText.ts#L30
Unsafe argument of type `CompletedProtocolAnalysis` assigned to a parameter of type `LoadedPipettes`
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/github-script@v6, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint js:
api-client/src/pipettes/types.ts#L62
A record is preferred over an index signature
|
lint js:
api-client/src/pipettes/types.ts#L69
A record is preferred over an index signature
|
lint js:
api-client/src/pipettes/types.ts#L77
A record is preferred over an index signature
|
lint js:
api-client/src/pipettes/types.ts#L81
A record is preferred over an index signature
|
lint js:
api-client/src/pipettes/types.ts#L90
A record is preferred over an index signature
|
lint js:
api-client/src/types.ts#L14
A record is preferred over an index signature
|
lint js:
app-shell-odd/src/actions.ts#L360
Expected property shorthand
|
lint js:
app-shell-odd/src/actions.ts#L368
Expected property shorthand
|
lint js:
app-shell-odd/src/actions.ts#L376
Expected property shorthand
|
lint js:
app-shell-odd/src/actions.ts#L384
Expected property shorthand
|
Loading