Skip to content

[BUG] Project-wide Linting errors #174

@hxrshxz

Description

@hxrshxz

Description

Right now, running npm run lint throws a lot of errors and warnings across the codebase. This issue is here to track and organize the work needed to clean them up so we can fix all the linting errors

Current Behavior

When npm run lint is executed, 176 problems (6 errors and 170 warnings).

Expected Behavior

What should be happening?
The npm run lint command should complete successfully with 0 errors and 0 warnings.

Steps to Reproduce

1.Run npm run lint in the terminal.
2. A lot of linting error appears

Screenshots

Image

Linting Cleanup Checklist

  • cart-invoice-card.tsx
  • display-products.tsx
  • product-invoice-card.tsx
  • timeout.ts
  • fetch-service.ts
  • types.ts
  • marketplace.tsx
  • cache-service.ts
  • nostr-manager.ts
  • nostr-signer.ts
  • context.ts
  • _app.tsx
  • keypress-handler.ts
  • chat-button.test.tsx
  • message-feed.tsx
  • messages.test.tsx
  • marketplace.test.tsx
  • messages.tsx
  • chat-panel.test.tsx
  • chat-message.tsx
  • chat-button.tsx
  • my-listings.test.tsx
  • product-form.tsx
  • shop-profile-form.test.tsx
  • user-profile-form.test.tsx
  • shop-profile-form.tsx
  • user-profile-form.tsx
  • image-carousel.test.tsx
  • migration-prompt-modal.test.tsx
  • product-card.test.tsx
  • request-passphrase-modal.test.tsx
  • shopstr-slider.test.tsx
  • shopstr-switch.test.tsx
  • volume-selector.test.tsx
  • checkout-card.tsx
  • location-dropdown.test.tsx
  • country-dropdown.tsx
  • location-dropdown.tsx
  • file-uploader.tsx
  • nostr-context-provider.tsx
  • profile-avatart.test.tsx
  • profile-dropdown.test.tsx
  • mint-button.test.tsx
  • index.tsx
  • shop-profile.tsx
  • user-profile.tsx
  • encryption-migration.test.ts
  • nostr-manager.test.ts
  • encryption-migration.ts
  • nostr-nip07-signer.test.ts
  • nostr-nip46-signer.test.ts
  • nostr-nsec-signer.test.ts
  • nostr-nip07-signer.ts
  • nostr-nip46-signer.ts
  • nostr-nsec-signer.ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions