fix(app-platform): upgrade platform tools to use vite and react 18 #64
Annotations
10 errors and 8 warnings
Run yarn d2-style check:
src/components/DatePicker/DatePicker.test.jsx#L2
There should be no empty line between import groups
|
Run yarn d2-style check:
src/components/DatePicker/DatePicker.test.jsx#L2
Unable to resolve path to module 'test-utils'
|
Run yarn d2-style check:
src/components/DatePicker/DatePicker.test.jsx#L3
Unable to resolve path to module '@testing-library/jest-dom/extend-expect.js'
|
Run yarn d2-style check:
src/components/FormAlerts/FormAlerts.test.jsx#L2
There should be no empty line between import groups
|
Run yarn d2-style check:
src/components/FormAlerts/FormAlerts.test.jsx#L2
Unable to resolve path to module 'test-utils'
|
Run yarn d2-style check:
src/components/FormAlerts/FormAlerts.test.jsx#L3
Unable to resolve path to module '@testing-library/jest-dom/extend-expect.js'
|
Run yarn d2-style check:
src/components/FormField/FormField.test.jsx#L2
There should be no empty line between import groups
|
Run yarn d2-style check:
src/components/FormField/FormField.test.jsx#L2
Unable to resolve path to module 'test-utils'
|
Run yarn d2-style check:
src/components/FormField/FormField.test.jsx#L3
Unable to resolve path to module '@testing-library/jest-dom/extend-expect.js'
|
Run yarn d2-style check:
src/components/Icon/Icon.test.jsx#L2
There should be no empty line between import groups
|
Run yarn d2-style check:
src/components/ElementSchemes/DataElementIdScheme.jsx#L26
React Hook useEffect has a missing dependency: 'baseUrl'. Either include it or remove the dependency array
|
Run yarn d2-style check:
src/components/ElementSchemes/IdScheme.jsx#L52
React Hook useEffect has a missing dependency: 'baseUrl'. Either include it or remove the dependency array
|
Run yarn d2-style check:
src/components/ElementSchemes/OrgUnitIdScheme.jsx#L21
React Hook useEffect has a missing dependency: 'baseUrl'. Either include it or remove the dependency array
|
Run yarn d2-style check:
src/components/JobOverview/JobOverview.jsx#L55
React Hook useEffect has missing dependencies: 'allTasks', 'selectedJob', and 'setSelectedJob'. Either include them or remove the dependency array. If 'setSelectedJob' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Run yarn d2-style check:
src/components/Router/ScrollToTop.jsx#L15
React Hook useEffect has a missing dependency: 'history'. Either include it or remove the dependency array
|
Run yarn d2-style check:
src/components/Schemas/Schemas.jsx#L56
React Hook useEffect has missing dependencies: 'checkedByDefault', 'excludeSchemas', and 'propagateCheckedSchemas'. Either include them or remove the dependency array
|
Run yarn d2-style check:
src/hooks/useObjects.js#L40
React Hook useEffect has missing dependencies: 'engine' and 'setSelected'. Either include them or remove the dependency array. If 'setSelected' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Run yarn d2-style check:
src/hooks/useProgramStages.js#L61
React Hook useEffect has missing dependencies: 'engine' and 'setSelected'. Either include them or remove the dependency array. If 'setSelected' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Loading