Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 872 Bytes

CONTRIBUTING.md

File metadata and controls

31 lines (22 loc) · 872 Bytes

Contributing

Format files with Prettier and use Conventional Commits. To help with this, npm scripts and a pre-commit configuration are provided.

Node.js and Python are used for running the npm scripts and installing pre-commit, respectively. Project Node.js and Python versions are kept in .tool-versions. The recommended installation method is via asdf.

npm scripts

asdf install nodejs
npm ci
npm run lint

pre-commit

asdf install python
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
pre-commit install
deactivate

See Also