Skip to content

fix: no type field in package.json #2254

fix: no type field in package.json

fix: no type field in package.json #2254

Triggered via pull request June 26, 2024 11:57
Status Success
Total duration 31s
Artifacts

lint-and-type.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 warnings
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint: src/context.ts#L58
Mutating a value returned from a function whose return value should not be mutated
lint: src/react/shallow.ts#L17
Mutating a value returned from a function whose return value should not be mutated
lint: tests/middlewareTypes.test.tsx#L30
Hooks may not be referenced as normal values, they must be called. See https://react.dev/reference/rules/react-calls-components-and-hooks#never-pass-around-hooks-as-regular-values
lint: tests/middlewareTypes.test.tsx#L31
Hooks may not be referenced as normal values, they must be called. See https://react.dev/reference/rules/react-calls-components-and-hooks#never-pass-around-hooks-as-regular-values