osrd-ui: build and check code #1
Annotations
10 errors and 4 warnings
build:
ui-core/src/index.ts#L1
Replace `"./styles/main.css"` with `'./styles/main.css'`
|
build:
ui-core/src/index.ts#L3
Replace `"./components/inputs/checkbox"` with `'./components/inputs/checkbox'`
|
build:
ui-core/src/index.ts#L4
Replace `"./components/inputs/Input"` with `'./components/inputs/Input'`
|
build:
ui-core/src/index.ts#L5
Replace `"./components/inputs/TokenInput"` with `'./components/inputs/TokenInput'`
|
build:
ui-core/src/index.ts#L6
Replace `"./components/inputs/PasswordInput"` with `'./components/inputs/PasswordInput'`
|
build:
ui-core/src/components/inputs/checkbox.tsx#L1
Replace `"react"` with `'react'`
|
build:
ui-core/src/components/inputs/Input.tsx#L1
Replace `"react"` with `'react'`
|
build:
ui-core/src/components/inputs/Input.tsx#L2
Replace `"@osrd-project/ui-icons"` with `'@osrd-project/ui-icons'`
|
build:
ui-core/src/components/inputs/Input.tsx#L3
Replace `"classnames"` with `'classnames'`
|
build:
ui-core/src/components/inputs/Input.tsx#L5
Replace `"./hooks/useKeyPress"` with `'./hooks/useKeyPress'`
|
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build:
ui-warped-map/src/components/DataLoader.tsx#L40
React Hook useEffect has a missing dependency: 'log'. Either include it or remove the dependency array
|
build:
ui-warped-map/src/components/DataLoader.tsx#L101
React Hook useEffect has missing dependencies: 'log', 'mapRef', 'onDataLoaded', 'sources', and 'timeout'. Either include them or remove the dependency array. If 'onDataLoaded' changes too often, find the parent component that defines it and wrap that definition in useCallback
|