Skip to content

refactor(core): stabilize studio usage of actions API #183

refactor(core): stabilize studio usage of actions API

refactor(core): stabilize studio usage of actions API #183

Triggered via pull request May 28, 2024 15:03
Status Success
Total duration 1m 24s
Artifacts

are-we-compiled-yet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint: packages/@sanity/portable-text-editor/src/editor/Editable.tsx#L353
Mutating a value returned from a function whose return value should not be mutated
lint: packages/@sanity/portable-text-editor/src/editor/hooks/useForwardedRef.ts#L14
Mutating component props or hook arguments is not allowed. Consider using a local variable instead
lint: packages/sanity/src/core/components/commandList/CommandList.tsx#L309
This mutates a variable that React considers immutable
lint: packages/sanity/src/core/components/hookCollection/GetHookCollectionState.tsx#L83
React Compiler has skipped optimizing this component because one or more React ESLint rules were disabled. React Compiler only works when your components follow all the rules of React, disabling them may result in unexpected or incorrect behavior
lint: packages/sanity/src/core/components/hookCollection/HookStateContainer.ts#L15
React Compiler has skipped optimizing this component because one or more React ESLint rules were disabled. React Compiler only works when your components follow all the rules of React, disabling them may result in unexpected or incorrect behavior
lint: packages/sanity/src/core/form/components/tagInput/tagInput.tsx#L235
Mutating a value returned from a function whose return value should not be mutated
lint: packages/sanity/src/core/form/field/actions/FieldActionsResolver.tsx#L112
Hooks must be the same function on every render, but this value may change over time to a different function. See https://react.dev/reference/rules/react-calls-components-and-hooks#dont-dynamically-use-hooks
lint: packages/sanity/src/core/form/inputs/PortableText/object/Annotation.tsx#L228
Mutating a value returned from a function whose return value should not be mutated
lint: packages/sanity/src/core/form/inputs/PortableText/toolbar/hooks.ts#L25
React Compiler has skipped optimizing this component because one or more React ESLint rules were disabled. React Compiler only works when your components follow all the rules of React, disabling them may result in unexpected or incorrect behavior
lint: packages/sanity/src/core/form/inputs/PortableText/toolbar/hooks.ts#L33
React Compiler has skipped optimizing this component because one or more React ESLint rules were disabled. React Compiler only works when your components follow all the rules of React, disabling them may result in unexpected or incorrect behavior