Fix some typos #6400
Annotations
14 warnings
Running tests
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
|
Running tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v1, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Running tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v1, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Running tests:
app/javascript/src/StyledComponents/Avatar.tsx#L44
React Hook useEffect has a missing dependency: 'getInitials'. Either include it or remove the dependency array
|
Running tests:
app/javascript/src/StyledComponents/TimeInput/index.tsx#L35
React Hook useEffect has a missing dependency: 'autoFocus'. Either include it or remove the dependency array
|
Running tests:
app/javascript/src/common/AutoSearch/index.tsx#L37
React Hook useEffect has a missing dependency: 'handleSearchAction'. Either include it or remove the dependency array
|
Running tests:
app/javascript/src/common/CustomAdvanceInput/index.tsx#L49
React Hook useEffect has a missing dependency: 'id'. Either include it or remove the dependency array
|
Running tests:
app/javascript/src/common/CustomDateRangePicker/index.tsx#L49
React Hook useEffect has a missing dependency: 'setSelectedInput'. Either include it or remove the dependency array. If 'setSelectedInput' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Running tests:
app/javascript/src/common/CustomDateRangeWIthInput/index.tsx#L54
React Hook useEffect has a missing dependency: 'setSelectedInput'. Either include it or remove the dependency array. If 'setSelectedInput' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Running tests:
app/javascript/src/common/CustomDateRangeWIthInput/index.tsx#L63
React Hook useEffect has a missing dependency: 'setShowCustomCalendar'. Either include it or remove the dependency array. Outer scope values like 'document.activeElement' aren't valid dependencies because mutating them doesn't re-render the component
|
Running tests:
app/javascript/src/common/CustomReactSelectStyle/Styles/index.ts#L44
Do not nest ternary expressions
|
Running tests:
app/javascript/src/common/CustomTextareaAutosize.tsx#L32
React Hook useEffect has a missing dependency: 'id'. Either include it or remove the dependency array
|
Running tests:
app/javascript/src/common/FormikFields/InputField/index.tsx#L72
React Hook useEffect has a missing dependency: 'marginBottom'. Either include it or remove the dependency array. If 'setDefaultMarginBottom' needs the current value of 'marginBottom', you can also switch to useReducer instead of useState and read 'marginBottom' in the reducer
|
Running tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|