chore(deps-dev): bump prettier from 3.3.2 to 3.4.2 #6092
Annotations
8 errors and 10 warnings
test:
src/script/auth/component/ClientList.tsx#L109
Replace `clientError·??·undefined` with `(clientError·??·undefined)`
|
test:
src/script/calling/CallingRepository.ts#L818
Replace `senderParticipant?.user.name()·??·''` with `(senderParticipant?.user.name()·??·'')`
|
test:
src/script/components/TitleBar/TitleBar.tsx#L138
Replace `firstUserEntity?.handle·??·''` with `(firstUserEntity?.handle·??·'')`
|
test:
src/script/components/calling/FullscreenVideoCall.tsx#L356
Replace `audioOptions[0].options.find(item·=>·item.value·===·selectedOption)·??·selectedAudioOptions[0]` with `(audioOptions[0].options.find(item·=>·item.value·===·selectedOption)·??·selectedAudioOptions[0])`
|
test:
src/script/components/calling/FullscreenVideoCall.tsx#L359
Replace `audioOptions[1].options.find(item·=>·item.value·===·selectedOption)·??·selectedAudioOptions[1]` with `(audioOptions[1].options.find(item·=>·item.value·===·selectedOption)·??·selectedAudioOptions[1])`
|
test:
src/script/media/MediaDevicesHandler.ts#L135
Replace `isAvailable?.id·??·MediaDevicesHandler.CONFIG.DEFAULT_DEVICE[deviceType]` with `(isAvailable?.id·??·MediaDevicesHandler.CONFIG.DEFAULT_DEVICE[deviceType])`
|
test:
src/script/page/RightSidebar/TimedMessages/TimedMessages.tsx#L69
Replace `globalMessageTimer·??·0` with `(globalMessageTimer·??·0)`
|
test
Process completed with exit code 1.
|
test:
server/config/client.config.ts#L80
No magic number: 4
|
test:
server/config/client.config.ts#L83
No magic number: 500
|
test:
server/config/client.config.ts#L84
No magic number: 4
|
test:
server/config/client.config.ts#L85
No magic number: 8
|
test:
server/config/index.ts#L32
Caution: `dotenv` also has a named export `load`. Check if you meant to write `import {load} from 'dotenv-extended'` instead
|
test:
server/config/server.config.ts#L112
No magic number: 21080
|
test:
server/routes/RedirectRoutes.ts#L26
Caution: `express` also has a named export `Router`. Check if you meant to write `import {Router} from 'express'` instead
|
test:
server/routes/Root.ts#L29
Caution: `maxmind` also has a named export `open`. Check if you meant to write `import {open} from 'maxmind'` instead
|
test:
server/routes/Root.ts#L29
Caution: `geolite2` also has a named export `paths`. Check if you meant to write `import {paths} from 'geolite2'` instead
|
test:
server/routes/error/ErrorRoutes.ts#L26
Caution: `express` also has a named export `Router`. Check if you meant to write `import {Router} from 'express'` instead
|