leather-mono
v1.4.1
Published
Leather wallet shared code
Downloads
191
Readme
Monorepo Setup
The purpose of this configuration is to ensure strict coding standards and facilitate code sharing. The monorepo uses pnpm workspaces
at its core and provides several shared packages to be found under the packages
folder.
Monorepo setup
Coding standards are enforced through the use of
eslint
prettier
typescripts
Shared configuration files for these tools exist in packages
and the same base configurations are used in the monorepo itself.
Some other configured tools are:
- Husky: run code checks and enforce standards locally as a first prevention
- LintStaged: only run checks on staged files
- CommitLint enforce Conventional Commit standard
Monorepo packages
The current packages are listed below
Git Actions
Basic CI actions to run code quality checks have been setup in
Documentation
Documentation has been provided from the outset and can be found in docs/tools/
along with a TEMPLATE.md file