Thanks for taking the time to contribute! These guidelines help keep contributions consistent and reliable for this Chrome extension.
- Fork the repository and clone your fork.
- In Chrome or a Chromium-based browser, open
chrome://extensions. - Enable Developer mode and choose Load unpacked.
- Select the repository root to load the extension. Reload the extension after making changes.
- No ESLint configuration is committed to the repository. Maintain the existing code style (2 spaces, semicolons, ES modules).
- If you have ESLint installed locally, run
npx eslint scripts options popupwith the default recommended rules and resolve any issues before committing.
- Use Conventional Commits such as
feat:,fix:, ordocs:to describe your changes. - Keep commits focused and concise.
- Automated tests are not currently available. Manually test changes by loading the extension and verifying:
- The background service worker initializes without errors.
- Content scripts inject and execute as expected.
- Options and popup pages function correctly.
- Include a brief summary of manual testing in your pull request.
- Any new configuration settings result in a need to be managed by scripted deployment. As such, the following files need to be reviewed and have the settings added:
Security vulnerabilities should be reported privately. Refer to SECURITY.md for disclosure instructions instead of opening public issues or pull requests.
- Create a topic branch from
main. - Make your changes and commit them following the guidelines above.
- Ensure manual tests pass and any ESLint checks you run are clean.
- Push your branch and open a pull request describing the changes and test results.
- Address review feedback and update your pull request as needed.
- When updating or creating a feature, the corresponding documentation in docs should also be updated to reflect your code changes.
- The documentation hosted at https:docs.check.tech utilizes GitBook which uses mostly GitHub Markdown with some additional syntax. Commit the changes in pure GitHub Markdown while leaving any GitBook sytax in place.
- New settings should also be added to config/managed_schema.json as this is a central reference for all other documentation