Contributing

April 11, 2026 ยท View on GitHub

Thank you for helping improve DocuMate.

Issues

  • Use GitHub Issues for bugs and feature requests.
  • Include editor and version (VS Code or Cursor + version), DocuMate extension version, language mode (PHP / JavaScript), and steps to reproduce when reporting bugs.

Pull requests

  1. Fork the repository and create a branch from main (or the branch the maintainer specifies).
  2. Run npm run lint and npm test before opening a PR; fix any new warnings.
  3. Keep changes focused: one concern per PR when possible.
  4. Update CHANGELOG.md for user-visible behavior changes (maintainer may adjust wording).

Code style

  • JavaScript with CommonJS (require / module.exports) to match the current codebase.
  • Follow existing patterns in language/ for new snippet logic.
  • ESLint is the source of truth for style and obvious footguns (eslint.config.mjs).

Documentation

When behavior or contribution points change, update: