chore(deps): update linters #3489
Annotations
7 warnings
Lint with the React Compiler ESLint plugin:
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 with the React Compiler ESLint plugin:
packages/sanity/src/core/hooks/useUserListWithPermissions.ts#L100
Unexpected reassignment of a variable which was defined outside of the component. Components and hooks should be pure and side-effect free, but variable reassignment is a form of side-effect. If this variable is used in rendering, use useState instead. (https://react.dev/reference/rules/components-and-hooks-must-be-pure#side-effects-must-run-outside-of-render)
|
Lint with the React Compiler ESLint plugin:
packages/sanity/src/core/tasks/components/form/tasksFormBuilder/FormCreate.tsx#L68
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 with the React Compiler ESLint plugin:
packages/sanity/src/core/tasks/components/form/tasksFormBuilder/FormCreate.tsx#L88
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 with the React Compiler ESLint plugin:
packages/sanity/src/core/tasks/hooks/useActivityLog.ts#L71
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 with the React Compiler ESLint plugin:
packages/sanity/src/structure/panes/document/documentPanel/documentViews/FormView.tsx#L119
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 with the React Compiler ESLint plugin:
packages/sanity/src/structure/panes/documentList/DocumentListPaneContent.tsx#L262
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
|
Loading