refactoring: Updating TPI files guide #775
Annotations
12 warnings
linters
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
linters
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
linters:
app/javascript/components/cclow/EventsTimeline.js#L48
React Hook useEffect has missing dependencies: 'events.length', 'eventsContainerEl', and 'isShowRightBtn'. Either include them or remove the dependency array
|
linters:
app/javascript/components/cclow/LawsDropdown.js#L191
React Hook useEffect has a missing dependency: 'escFunction'. Either include it or remove the dependency array
|
linters:
app/javascript/components/cclow/LawsDropdown.js#L268
React Hook useCallback has missing dependencies: 'renderAllOptions', 'searchGeographiesResults', and 'searchValue'. Either include them or remove the dependency array
|
linters:
app/javascript/components/cclow/world-map/WorldMap.js#L200
React Hook useEffect has missing dependencies: 'setGeosWithEuropeanUnionBorders', 'zoomToGeography', and 'zoomToGeographyIso'. Either include them or remove the dependency array
|
linters:
app/javascript/components/cclow/world-map/world-map.hooks.js#L59
React Hook useMemo has an unnecessary dependency: 'isEUAggregated'. Either exclude it or remove the dependency array
|
linters:
app/javascript/components/tpi/AscorDropdown.js#L35
React Hook useMemo has missing dependencies: 'countries' and 'fuse'. Either include them or remove the dependency array
|
linters:
app/javascript/components/tpi/AscorDropdown.js#L39
React Hook useMemo has a missing dependency: 'searchResults'. Either include it or remove the dependency array
|
linters:
app/javascript/components/tpi/AscorDropdown.js#L100
React Hook useEffect has a missing dependency: 'escFunction'. Either include it or remove the dependency array
|
linters:
app/javascript/components/tpi/AscorDropdown.js#L108
React Hook useEffect has a missing dependency: 'handleClickOutside'. Either include it or remove the dependency array
|
linters:
app/javascript/components/tpi/AscorDropdown.js#L116
React Hook useEffect has a missing dependency: 'enterFunction'. Either include it or remove the dependency array
|