Skip to content

Add storage implementation if localStorage is not available #101

Add storage implementation if localStorage is not available

Add storage implementation if localStorage is not available #101

Triggered via pull request December 25, 2024 16:55
Status Failure
Total duration 28s
Artifacts

main.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
lint: src/modules/storage.ts#L19
Member getItem should be declared before all private instance method definitions
lint: src/modules/storage.ts#L19
Missing accessibility modifier on method definition getItem
lint: src/modules/storage.ts#L26
Member setItem should be declared before all private instance method definitions
lint: src/modules/storage.ts#L26
Missing accessibility modifier on method definition setItem
lint: src/modules/storage.ts#L34
Member removeItem should be declared before all private instance method definitions
lint: src/modules/storage.ts#L34
Missing accessibility modifier on method definition removeItem
lint: src/modules/storage.ts#L42
Member clear should be declared before all private instance method definitions
lint: src/modules/storage.ts#L42
Missing accessibility modifier on method definition clear
lint: src/modules/storage.ts#L50
Missing accessibility modifier on get property accessor length
lint: src/modules/storage.ts#L58
Member key should be declared before all private instance method definitions
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint: src/modules/storage.ts#L8
Missing JSDoc comment
lint: src/modules/storage.ts#L11
Expected blank line before this statement
lint: src/modules/storage.ts#L13
Expected blank line before this statement
lint: src/modules/storage.ts#L19
Missing JSDoc comment
lint: src/modules/storage.ts#L23
Expected blank line before this statement
lint: src/modules/storage.ts#L26
Missing JSDoc comment
lint: src/modules/storage.ts#L34
Missing JSDoc comment
lint: src/modules/storage.ts#L42
Missing JSDoc comment
lint: src/modules/storage.ts#L50
Missing JSDoc comment
lint: src/modules/storage.ts#L58
Missing JSDoc comment
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636