Contributing to Blinky
April 3, 2026 ยท View on GitHub
Thanks for your interest in contributing! Here's how to get started.
Development Setup
git clone https://github.com/OnionLabs/blinky.git
cd blinky
npm install
Running Locally
- Open the repo in VS Code
- Press
F5to launch the Extension Development Host - Plug in a board to test with real hardware
Common Commands
| Command | Description |
|---|---|
npm run compile | Build the extension |
npm run watch | Build in watch mode |
npm test | Run tests |
npm run lint | Lint with ESLint |
Making Changes
- Fork the repo and create a branch from
master - Make your changes
- Add or update tests as needed
- Run
npm testandnpm run lint - Open a pull request
Code Style
- TypeScript with ESLint - the pre-commit hook runs
eslint --fixautomatically - No manual formatting rules - just follow what's already there
Testing
Tests use Vitest with a mock of the VS Code API. Run them with:
npm test # run once
npm run test:watch # watch mode
npm run test:coverage # with coverage report
If your change touches hardware interaction (serial, flashing), please test with a real board before submitting.
Reporting Bugs
Use the bug report template. Include your OS, VS Code version, board type, and MicroPython version.