getAlby / nostr-wallet-connect-next

Nostr Wallet Connect (NIP-47) application to allow apps to connect to your node
https://nwc.getalby.com
Apache License 2.0
7 stars 3 forks source link

feat: setup linters #357

Closed pavanjoshi914 closed 1 month ago

pavanjoshi914 commented 1 month ago

Fixes getAlby/hub#110

  1. setup husky (this needed custom config related to path. as package.json and .git are not at same level)
  2. add pretitter + setup pre-commit hooks
  3. configure eslint typescript parsers and update rules
  4. add commitlint and introduce commit-msg hooks
  5. serialization config for prettier and eslint
rolznz commented 1 month ago

@pavanjoshi914 could you also add a github ci action that checks the frontend code compiles passes linting checks (tsc, prettier, eslint)?