Skip to content

fix const

fix const #223

Triggered via push July 24, 2024 18:15
Status Failure
Total duration 57s
Artifacts

lint-admin.yml

on: push
Lint admin
46s
Lint admin
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 11 warnings
Lint admin: src/frontend/admin/src/components/TeamView.jsx#L36
'TeamViewSettingsPanel' is defined but never used
Lint admin
Process completed with exit code 1.
Lint admin
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Lint admin: src/frontend/admin/src/components/AdvancedJson.jsx#L29
React Hook useEffect has missing dependencies: 'errorHandler' and 'schemaGet'. Either include them or remove the dependency array
Lint admin: src/frontend/admin/src/components/AdvancedJson.jsx#L35
React Hook useEffect has missing dependencies: 'apiGet' and 'errorHandler'. Either include them or remove the dependency array
Lint admin: src/frontend/admin/src/components/BackendLog.jsx#L10
React Hook useCallback has a missing dependency: 'addMessages'. Either include it or remove the dependency array
Lint admin: src/frontend/admin/src/components/FullScreenClockManager.jsx#L22
React Hook useEffect has a missing dependency: 'service'. Either include it or remove the dependency array
Lint admin: src/frontend/admin/src/components/FullScreenClockManager.jsx#L26
React Hook useEffect has missing dependencies: 'loadSettings' and 'service'. Either include them or remove the dependency array
Lint admin: src/frontend/admin/src/components/MediaFiles.jsx#L54
React Hook useEffect has a missing dependency: 'loadFiles'. Either include it or remove the dependency array
Lint admin: src/frontend/admin/src/components/PresetsManager.jsx#L23
React Hook useEffect has a missing dependency: 'loadData'. Either include it or remove the dependency array
Lint admin: src/frontend/admin/src/components/PresetsManager.jsx#L27
React Hook useEffect has missing dependencies: 'loadData' and 'service'. Either include them or remove the dependency array
Lint admin: src/frontend/admin/src/components/PresetsTableCell.jsx#L6
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
Lint admin: src/frontend/admin/src/components/PresetsTableRow.jsx#L13
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components