Skip to content

Lint + Workflow

Lint + Workflow #3

Triggered via pull request February 5, 2024 19:56
@eMerzheMerzh
synchronize #24
eMerzh:workflow
Status Failure
Total duration 20s
Artifacts

check.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 6 warnings
typecheck: src/App.test.tsx#L1
Cannot find module 'react' or its corresponding type declarations.
typecheck: src/App.test.tsx#L2
Cannot find module '@testing-library/react' or its corresponding type declarations.
typecheck: src/App.test.tsx#L5
Cannot find name 'test'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`.
typecheck: src/App.test.tsx#L8
Cannot find name 'expect'.
typecheck: src/App.tsx#L1
Cannot find module '@mantine/core' or its corresponding type declarations.
typecheck: src/App.tsx#L3
Cannot find module '@mantine/hooks' or its corresponding type declarations.
typecheck: src/App.tsx#L4
Cannot find module '@mantine/notifications' or its corresponding type declarations.
typecheck: src/App.tsx#L5
Cannot find module 'react' or its corresponding type declarations.
typecheck: src/App.tsx#L7
Cannot find module 'react-i18next' or its corresponding type declarations.
typecheck: src/components/CardHistory.tsx#L1
Cannot find module 'react' or its corresponding type declarations.
lint: src/components/deck/DeckView.tsx#L80
Avoid passing content using the dangerouslySetInnerHTML prop.
lint: src/logic/CardTypeImplementations/NormalCard.tsx#L48
Avoid passing content using the dangerouslySetInnerHTML prop.
lint: src/logic/CardTypeImplementations/NormalCard.tsx#L58
Avoid passing content using the dangerouslySetInnerHTML prop.
lint: src/logic/CardTypeImplementations/DoubleSidedCard.tsx#L56
Avoid passing content using the dangerouslySetInnerHTML prop.
lint: src/logic/CardTypeImplementations/DoubleSidedCard.tsx#L68
Avoid passing content using the dangerouslySetInnerHTML prop.
lint: src/logic/Settings.ts#L57
Avoid the use of spread (`...`) syntax on accumulators.