Skip to content

feat: add input characters counter #179

feat: add input characters counter

feat: add input characters counter #179

Triggered via pull request February 29, 2024 16:42
Status Success
Total duration 1m 37s
Artifacts

lint.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build (18.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (18.x): src/core/data-display/advertise/index.tsx#L55
JSX attribute values should not contain objects created in the same scope
build (18.x): src/core/data-display/advertise/index.tsx#L62
JSX attribute values should not contain objects created in the same scope
build (18.x): src/core/data-display/badge/index.tsx#L52
JSX attribute values should not contain objects created in the same scope
build (18.x): src/core/data-display/chapter/index.tsx#L66
Do not define components during render. React will see a new component type on every render and destroy the entire subtree’s DOM nodes and state (https://reactjs.org/docs/reconciliation.html#elements-of-different-types). Instead, move this component definition out of the parent component “Chapter” and pass data as props
build (18.x): src/core/data-display/chapter/index.tsx#L67
JSX attribute values should not contain objects created in the same scope
build (18.x): src/core/data-display/chapter/index.tsx#L73
JSX attribute values should not contain objects created in the same scope
build (18.x): src/core/data-display/chip/index.tsx#L37
JSX attribute values should not contain objects created in the same scope
build (18.x): src/core/data-display/data-table/data-table-field.tsx#L191
Do not nest ternary expressions
build (18.x): src/core/data-display/data-table/data-table-query-paginated.stories.tsx#L85
JSX attribute values should not contain objects created in the same scope
build (18.x): src/core/data-display/data-table/data-table-query-paginated.stories.tsx#L128
JSX attribute values should not contain objects created in the same scope