Add Task Title Validation on Main Composer Text Change #95649
Annotations
5 errors and 2 warnings
Lint JavaScript and Typescript with ESLint:
src/pages/home/report/ReportActionCompose/ReportActionCompose.tsx#L176
'hasExceededMaxTaskTitleLength' is assigned a value but never used
|
Lint JavaScript and Typescript with ESLint:
src/pages/home/report/ReportActionCompose/ReportActionCompose.tsx#L176
'validateTaskTitleMaxLength' is assigned a value but never used
|
Lint JavaScript and Typescript with ESLint:
src/pages/home/report/ReportActionCompose/ReportActionCompose.tsx#L417
Unsafe call of an `any` typed value
|
Lint JavaScript and Typescript with ESLint:
src/pages/home/report/ReportActionCompose/ReportActionCompose.tsx#L573
Unsafe assignment of an error typed value
|
Lint JavaScript and Typescript with ESLint
Process completed with exit code 1.
|
Lint JavaScript and Typescript with ESLint:
src/pages/home/report/ReportActionCompose/ReportActionCompose.tsx#L322
React Hook useEffect has an unnecessary dependency: 'hasExceededMaxTitleLength'. Either exclude it or remove the dependency array. Outer scope values like 'hasExceededMaxTitleLength' aren't valid dependencies because mutating them doesn't re-render the component
|
Lint JavaScript and Typescript with ESLint:
src/pages/home/report/ReportActionCompose/ReportActionCompose.tsx#L422
React Hook useCallback has an unnecessary dependency: 'validateTitleMaxLength'. Either exclude it or remove the dependency array. Outer scope values like 'validateTitleMaxLength' aren't valid dependencies because mutating them doesn't re-render the component
|
Loading