Files
MikrotikManager/docs/reui-migration-lint.md
T

17 KiB

ReUI: исходные замечания установленного реестра

2026-09-13. Команда: npx eslint components/reui/data-grid components/reui/filters components/reui/cascader. 23 ошибки, 27 предупреждений. Правила не отключены. Требует разбора перед завершением этапа 2.

Файл Замечание
components/reui/cascader/cascader-async.tsx 786:7 error Error: Calling setState synchronously within an effect can trigger cascading renders
components/reui/cascader/cascader-virtual.tsx 132:5 error Error: Calling setState synchronously within an effect can trigger cascading renders
components/reui/cascader/cascader.tsx 934:15 error Error: Cannot access refs during render
components/reui/cascader/cascader.tsx:934:15 934:15 error Error: Cannot access refs during render
components/reui/cascader/cascader.tsx:934:15 1089:22 error Error: Calling setState synchronously within an effect can trigger cascading renders
components/reui/cascader/cascader.tsx:1089:22 1142:5 error Error: Calling setState synchronously within an effect can trigger cascading renders
components/reui/cascader/cascader.tsx:1142:5 1672:5 error Error: Calling setState synchronously within an effect can trigger cascading renders
components/reui/cascader/cascader.tsx:1672:5 1688:27 error Error: Calling setState synchronously within an effect can trigger cascading renders
components/reui/cascader/cascader.tsx:1688:27 2111:45 error Error: Cannot access refs during render
components/reui/cascader/cascader.tsx:2111:45 2112:36 error Error: Cannot access refs during render
components/reui/data-grid/data-grid-scroll-area.tsx 234:7 error Error: Calling setState synchronously within an effect can trigger cascading renders
components/reui/data-grid/data-grid-table-dnd-rows.tsx 62:3 warning 'verticalListSortingStrategy' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
components/reui/data-grid/data-grid-table-dnd-rows.tsx 67:39 warning 'Table' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
components/reui/data-grid/data-grid-table-dnd-rows.tsx 454:5 error Error: Calling setState synchronously within an effect can trigger cascading renders
components/reui/data-grid/data-grid-table-dnd.tsx 61:3 warning 'Table' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
components/reui/data-grid/data-grid-table-virtual.tsx 32:28 warning 'Table' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
components/reui/data-grid/data-grid-table-virtual.tsx 762:23 warning Compilation Skipped: Use of incompatible library
components/reui/data-grid/data-grid-table-virtual.tsx:762:23 807:5 warning Unused eslint-disable directive (no problems were reported from 'react-hooks/exhaustive-deps')
components/reui/data-grid/data-grid-table-virtual.tsx:762:23 811:5 warning Unused eslint-disable directive (no problems were reported from 'react-hooks/exhaustive-deps')
components/reui/data-grid/data-grid-table-virtual.tsx:762:23 813:5 warning Unused eslint-disable directive (no problems were reported from 'react-hooks/exhaustive-deps')
components/reui/data-grid/data-grid-table-virtual.tsx:762:23 815:5 warning Unused eslint-disable directive (no problems were reported from 'react-hooks/exhaustive-deps')
components/reui/data-grid/data-grid-table-virtual.tsx:762:23 817:5 warning Unused eslint-disable directive (no problems were reported from 'react-hooks/exhaustive-deps')
components/reui/data-grid/data-grid-table-virtual.tsx:762:23 835:9 warning The 'virtualItems' conditional could make the dependencies of useEffect Hook (at line 1037) change on every render. To fix this, wrap the initialization of 'virtualItems' in its own useMemo() Hook react-hooks/exhaustive-deps
components/reui/data-grid/data-grid-table-virtual.tsx:762:23 1052:3 warning Unused eslint-disable directive (no problems were reported from 'react-hooks/exhaustive-deps')
components/reui/data-grid/data-grid-table.tsx 31:42 warning 'Table' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
components/reui/data-grid/data-grid-table.tsx 744:5 warning Unused eslint-disable directive (no problems were reported from 'react-hooks/exhaustive-deps')
components/reui/data-grid/data-grid-table.tsx 746:5 warning Unused eslint-disable directive (no problems were reported from 'react-hooks/exhaustive-deps')
components/reui/data-grid/data-grid-table.tsx 748:5 warning Unused eslint-disable directive (no problems were reported from 'react-hooks/exhaustive-deps')
components/reui/data-grid/data-grid-table.tsx 750:5 warning Unused eslint-disable directive (no problems were reported from 'react-hooks/exhaustive-deps')
components/reui/data-grid/data-grid-table.tsx 756:5 warning Unused eslint-disable directive (no problems were reported from 'react-hooks/exhaustive-deps')
components/reui/data-grid/data-grid-table.tsx 959:3 warning 'rowId' is defined but never used. Allowed unused args must match /^_/u @typescript-eslint/no-unused-vars
components/reui/data-grid/data-grid-table.tsx 1463:11 warning 'table' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
components/reui/data-grid/data-grid-table.tsx 2342:30 warning 'TData' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
components/reui/data-grid/data-grid-table.tsx 2411:24 warning 'TData' is defined but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
components/reui/data-grid/data-grid.tsx 889:3 error Error: Cannot access refs during render
components/reui/data-grid/data-grid.tsx:889:3 892:3 error Error: Cannot access refs during render
components/reui/data-grid/data-grid.tsx:892:3 899:3 error Error: Cannot access refs during render
components/reui/data-grid/data-grid.tsx:899:3 949:44 error Error: Cannot access refs during render
components/reui/data-grid/data-grid.tsx:949:44 950:5 warning React Hook useMemo has an unnecessary dependency: 'table.store'. Either exclude it or remove the dependency array react-hooks/exhaustive-deps
components/reui/data-grid/data-grid.tsx:949:44 988:7 error Error: Expected the dependency list to be an array of simple expressions (e.g. x, x.y.z, x?.y?.z)
components/reui/data-grid/data-grid.tsx:988:7 990:7 error Error: Expected the dependency list to be an array of simple expressions (e.g. x, x.y.z, x?.y?.z)
components/reui/filters/filters-advanced.tsx 757:18 error Error: Calling setState synchronously within an effect can trigger cascading renders
components/reui/filters/filters-advanced.tsx:757:18 765:5 error Error: Calling setState synchronously within an effect can trigger cascading renders
components/reui/filters/filters-advanced.tsx:765:5 1529:9 warning 'issueMap' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
components/reui/filters/filters-advanced.tsx:765:5 1544:6 warning React Hook React.useMemo has an unnecessary dependency: 'rowStateVersion'. Either exclude it or remove the dependency array react-hooks/exhaustive-deps
components/reui/filters/filters-advanced.tsx:765:5 1566:9 warning 'focusFirstIssue' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
components/reui/filters/filters-chip.tsx 377:15 error Error: Calling setState synchronously within an effect can trigger cascading renders
components/reui/filters/filters-chip.tsx:377:15 466:18 error Error: Calling setState synchronously within an effect can trigger cascading renders
components/reui/filters/filters-chip.tsx:466:18 550:9 warning 'operator' is assigned a value but never used. Allowed unused vars must match /^_/u @typescript-eslint/no-unused-vars
components/reui/filters/filters-chip.tsx:466:18 569:18 error Error: Calling setState synchronously within an effect can trigger cascading renders