Merge remote-tracking branch 'upstream/master' into feat/merge-upstream-2.31 #58
Annotations
13 errors and 10 warnings
lint-frontend:
frontend/src/api/files.ts#L194
'file' is never reassigned. Use 'const' instead
|
lint-frontend:
frontend/src/stores/file.ts#L36
'extensions' is never reassigned. Use 'const' instead
|
lint-frontend:
frontend/src/stores/file.ts#L37
'items' is never reassigned. Use 'const' instead
|
lint-frontend:
frontend/src/stores/file.ts#L48
'item' is never reassigned. Use 'const' instead
|
lint-frontend:
frontend/src/stores/quota.ts#L19
'data' is never reassigned. Use 'const' instead
|
lint-frontend
Process completed with exit code 2.
|
lint-backend:
http/resource.go#L706
G115: integer overflow conversion uint64 -> uint32 (gosec)
|
lint-backend:
http/resource.go#L699
G115: integer overflow conversion uint64 -> uint32 (gosec)
|
lint-backend:
http/resource.go#L691
unused-parameter: parameter 'i' seems to be unused, consider removing or renaming it as _ (revive)
|
lint-backend:
http/data.go#L77
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
|
lint-backend:
fileutils/copy.go#L67
missing cases in switch of type fs.FileMode: fs.ModeAppend, fs.ModeExclusive, fs.ModeTemporary, fs.ModeDevice, fs.ModeNamedPipe, fs.ModeSocket, fs.ModeSetuid, fs.ModeSetgid, fs.ModeCharDevice, fs.ModeSticky, fs.ModeIrregular, fs.ModeType, fs.ModePerm (exhaustive)
|
lint-backend:
fileutils/dir.go#L92
missing cases in switch of type fs.FileMode: fs.ModeAppend, fs.ModeExclusive, fs.ModeTemporary, fs.ModeDevice, fs.ModeNamedPipe, fs.ModeSocket, fs.ModeSetuid, fs.ModeSetgid, fs.ModeCharDevice, fs.ModeSticky, fs.ModeIrregular, fs.ModeType, fs.ModePerm (exhaustive)
|
lint-backend
Process completed with exit code 2.
|
lint-frontend:
frontend/src/api/files.ts#L191
Replace `url:·string,·name:·string,·format:·string,·...files:·string[]` with `⏎··url:·string,⏎··name:·string,⏎··format:·string,⏎··...files:·string[]⏎`
|
lint-frontend:
frontend/src/api/files.ts#L217
Replace `path:·string,·perms:·number,·recursive:·boolean,·recursionType:·string` with `⏎··path:·string,⏎··perms:·number,⏎··recursive:·boolean,⏎··recursionType:·string⏎`
|
lint-frontend:
frontend/src/components/Quota.vue#L47
Replace `·?·quotaStore.quota.inodes·!==·null·&&·quotaStore.quota.space·!==·null` with `⏎····?·quotaStore.quota.inodes·!==·null·&&·quotaStore.quota.space·!==·null⏎···`
|
lint-frontend:
frontend/src/components/Quota.vue#L51
Replace `·?·progress(quotaStore.quota.space)` with `⏎····?·progress(quotaStore.quota.space)⏎···`
|
lint-frontend:
frontend/src/components/Quota.vue#L55
Replace `·?·progress(quotaStore.quota.inodes)` with `⏎····?·progress(quotaStore.quota.inodes)⏎···`
|
lint-frontend:
frontend/src/components/Quota.vue#L59
Replace `·?·"-·/·-"·:·filesize(quotaStore.quota.space.usage)·+·"·/·"·+` with `⏎····?·"-·/·-"⏎····:·filesize(quotaStore.quota.space.usage)·+⏎······"·/·"·+⏎·····`
|
lint-frontend:
frontend/src/components/Quota.vue#L63
Replace `·?·"-·/·-"·:·filesize(quotaStore.quota.inodes.usage)·+·"·/·"·+` with `⏎····?·"-·/·-"⏎····:·filesize(quotaStore.quota.inodes.usage)·+⏎······"·/·"·+⏎·····`
|
|
lint-frontend:
frontend/src/components/Sidebar.vue#L134
Replace `'·'` with `"·"`
|
lint-frontend:
frontend/src/components/files/ContextMenu.vue#L2
Replace `⏎····id="context-menu"⏎····ref="contextMenuDiv"⏎····class="card"⏎····:style="menuStyle"⏎··` with `·id="context-menu"·ref="contextMenuDiv"·class="card"·:style="menuStyle"`
|