A cross-browser extension for the Qlty platform that provides code quality insights directly in GitHub pull requests and commits. The extension supports both Chrome and Firefox using a unified codebase.
- Chrome - Uses Manifest v3 with service workers
- Firefox - Uses Manifest v2 with background scripts
npm install
For development with file watching:
# Chrome (default) npm run watch # Chrome specifically npm run watch:chrome # Firefox npm run watch:firefox
For production builds:
# Chrome (default) npm run build # Chrome specifically npm run build:chrome # Firefox npm run build:firefox
All builds output to the dist/{chrome,firefox} directories respectively.
- Build the extension:
npm run build:chromeornpm run watch:chrome - Go to
chrome://extensions - Enable "Developer mode"
- Click "Load unpacked"
- Select the
dist/chromefolder from the repository
For more details, see the Chrome Extension Developer Documentation.
- Build the extension:
npm run build:firefoxornpm run watch:firefox - Run
npm run run:firefoxto load the extension in Firefox.
The extension automatically rebuilds when source files change during development, but you'll need to reload the extension in the browser to see changes.
For technical details about the extension's architecture, cross-browser compatibility, and implementation details, see ARCHITECTURE.md.