Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Latest commit

 

History

History
17 lines (12 loc) · 651 Bytes

CONTRIBUTING.md

File metadata and controls

17 lines (12 loc) · 651 Bytes

Contributing

👍🎉 First off, thanks for taking the time to contribute! 🎉👍

This repository hosts the @ledgerhq/* JavaScript libraries.

JavaScript styleguide

  • ES6+ features.
  • prettier for formatting convention. You can run npm run prettier.
  • ESLint is used to enhance code quality. Check with yarn run lint.
  • Flowtype is used to typecheck the library. Check with yarn lerna:run flow.

NB. for the 3 points above, the best is to have integration of Prettier, ESlint, Flowtype in your text editor (there are plugin for most editors). The easiest might be to use Atom with Nuclide plugin.