Skip to content

chore: add react compiler eslint rules #2242

chore: add react compiler eslint rules

chore: add react compiler eslint rules #2242

Re-run triggered June 21, 2024 04:51
Status Success
Total duration 39s
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