Skip to content

[WIP] json for theme 2.0 #21294

[WIP] json for theme 2.0

[WIP] json for theme 2.0 #21294

Triggered via pull request May 17, 2024 15:50
Status Failure
Total duration 16m 31s
Artifacts

test.yml

on: pull_request
Matrix: cypress-tests
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 13 warnings
lint: docs/components/LineBlock.tsx#L41
Unknown property 'stroke-dasharray' found, use 'strokeDasharray' instead
lint: docs/decorators/withDateMock.tsx#L9
Unsafe argument of type `any` assigned to a parameter of type `string | number | Date`
lint: docs/decorators/withDateMock.tsx#L12
React Hook "useIsomorphicLayoutEffect" is called in function "withDateMock: Decorator" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
lint: docs/decorators/withTheme.tsx#L43
Use a ! assertion to more succinctly remove null and undefined from the type
lint: docs/decorators/withTheme.tsx#L49
Use a ! assertion to more succinctly remove null and undefined from the type
lint: docs/decorators/withTheme.tsx#L56
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
lint: docs/decorators/withTheme.tsx#L57
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
lint: docs/decorators/withTheme.tsx#L94
Unsafe assignment of an `any` value
lint: docs/decorators/withTheme.tsx#L98
Unsafe assignment of an `any` value
lint: docs/decorators/withTheme.tsx#L99
Unsafe assignment of an `any` value
lint
Process completed with exit code 1.
lint: packages/core/src/menu/MenuBase.tsx#L114
React Hook useIsomorphicLayoutEffect has a missing dependency: 'refs'. Either include it or remove the dependency array
lint: packages/data-grid/src/CellEditor.tsx#L37
React Hook useEffect has a missing dependency: 'grid'. Either include it or remove the dependency array
lint: packages/data-grid/src/DropdownCellEditor.tsx#L55
React Hook useEffect has an unnecessary dependency: 'triggerRef.current'. Either exclude it or remove the dependency array. Mutable values like 'triggerRef.current' aren't valid dependencies because mutating them doesn't re-render the component
lint: packages/data-grid/src/Grid.tsx#L437
React Hook useCallback has an unnecessary dependency: 'scrollableRef.current'. Either exclude it or remove the dependency array. Mutable values like 'scrollableRef.current' aren't valid dependencies because mutating them doesn't re-render the component
lint: packages/data-grid/src/Grid.tsx#L496
React Hook useMemo has an unnecessary dependency: 'sortByColumnId'. Either exclude it or remove the dependency array
lint: packages/data-grid/src/Grid.tsx#L586
The 'startEditMode' function makes the dependencies of useMemo Hook (at line 736) change on every render. To fix this, wrap the definition of 'startEditMode' in its own useCallback() Hook
lint: packages/data-grid/src/Grid.tsx#L586
The 'startEditMode' function makes the dependencies of useCallback Hook (at line 870) change on every render. To fix this, wrap the definition of 'startEditMode' in its own useCallback() Hook
lint: packages/data-grid/src/Grid.tsx#L598
The 'endEditMode' function makes the dependencies of useMemo Hook (at line 736) change on every render. To fix this, wrap the definition of 'endEditMode' in its own useCallback() Hook
lint: packages/data-grid/src/Grid.tsx#L623
The 'cancelEditMode' function makes the dependencies of useMemo Hook (at line 736) change on every render. To fix this, wrap the definition of 'cancelEditMode' in its own useCallback() Hook
lint: packages/data-grid/src/Grid.tsx#L623
The 'cancelEditMode' function makes the dependencies of useCallback Hook (at line 870) change on every render. To fix this, wrap the definition of 'cancelEditMode' in its own useCallback() Hook
cypress-tests (16)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: cypress-io/github-action@v5. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
cypress-tests (17)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: cypress-io/github-action@v5. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
cypress-tests (18)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: cypress-io/github-action@v5. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.