Skip to content

Add prefer-at condition to eslint #1332

Add prefer-at condition to eslint

Add prefer-at condition to eslint #1332

Triggered via pull request September 30, 2024 09:59
Status Failure
Total duration 5m 25s
Artifacts

lint-changed.yml

on: pull_request
Changed files ESLint check
5m 15s
Changed files ESLint check
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Changed files ESLint check: src/components/MultiGestureCanvas/usePanGesture.ts#L69
'useWorkletCallback' is deprecated. use React.useCallback instead
Changed files ESLint check: src/components/MultiGestureCanvas/usePanGesture.ts#L105
'useWorkletCallback' is deprecated. use React.useCallback instead
Changed files ESLint check: src/components/ReportActionItem/MoneyRequestView.tsx#L312
This assertion is unnecessary since it does not change the type of the expression
Changed files ESLint check: src/components/ReportActionItem/MoneyRequestView.tsx#L748
This assertion is unnecessary since it does not change the type of the expression
Changed files ESLint check: src/libs/PaginationUtils.ts#L49
Prefer using the `.at()` method for array element access
Changed files ESLint check: src/libs/actions/IOU.ts#L7015
Prefer using the `.at()` method for array element access
Changed files ESLint check: src/libs/actions/IOU.ts#L7020
Prefer using the `.at()` method for array element access
Changed files ESLint check: src/libs/actions/IOU.ts#L8315
Prefer using the `.at()` method for array element access
Changed files ESLint check: src/pages/home/report/ReportActionItemSingle.tsx#L279
Prefer using the `.at()` method for array element access
Changed files ESLint check: src/pages/home/report/ReportActionItemSingle.tsx#L295
Prefer using the `.at()` method for array element access