chore: upgrade vitest to v2.0.0 #2299
Annotations
6 errors and 11 warnings
🔎 Type check
Object is possibly 'undefined'.
|
🔎 Type check
Object is possibly 'undefined'.
|
🔎 Type check
Object is possibly 'undefined'.
|
🔎 Type check
Object is possibly 'undefined'.
|
🔎 Type check
typecheck: command (/home/runner/work/marimo/marimo/frontend/) /home/runner/setup-pnpm/node_modules/.bin/pnpm run typecheck exited (2)
|
🔎 Type check
Process completed with exit code 2.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
🧹 Lint:
frontend/src/components/debugger/debugger-code.tsx#L58
Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)
|
🧹 Lint:
frontend/src/components/editor/cell/code/cell-editor.tsx#L239
React Hook useMemo has a missing dependency: 'createNewCell'. Either include it or remove the dependency array. If 'createNewCell' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
🧹 Lint:
frontend/src/components/editor/file-tree/file-viewer.tsx#L71
Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)
|
🧹 Lint:
frontend/src/components/editor/output/MarimoErrorOutput.tsx#L114
Reassigning a variable after render has completed can cause inconsistent behavior on subsequent renders. Consider using state instead
|
🧹 Lint:
frontend/src/components/editor/renderers/vertical-layout/useDelayVisibility.ts#L24
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:
frontend/src/components/static-html/share-modal.tsx#L28
Ref values (the `current` property) may not be accessed during render. (https://react.dev/reference/react/useRef)
|
🧹 Lint:
frontend/src/components/terminal/terminal.tsx#L49
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:
frontend/src/components/terminal/terminal.tsx#L60
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:
frontend/src/components/terminal/terminal.tsx#L81
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:
frontend/src/core/cells/outputs.ts#L17
Writing to a variable defined outside a component or hook is not allowed. Consider using an effect
|
Loading