Skip to content

docs: add standardized gitlab templates and resolve vitest typing conflict

Kushal Lagichetty requested to merge docs/template into develop

Summary

This MR introduces 8 standardized GitLab templates to streamline the contribution workflow and fixes a persistent TS2769 typing error in vite.config.ts to ensure the project passes full validation.

Closes #(issue_number)


Implementation Details

GitLab Templates

  • Created .gitlab/issue_templates/ and .gitlab/merge_request_templates/.
  • Added feature_template.md, bug_fix_template.md, refactor_template.md, and doc_template.md to both directories.
  • Templates include automated labels (e.g., /label ~"type::feature") and comprehensive quality checklists.

Config Fix

  • Added /// <reference types="vitest" /> to vite.config.ts to extend the Vite UserConfig type with Vitest properties.
  • Applied eslint-disable-next-line and explicit any types to the server.proxy.configure method to satisfy strict linting while maintaining functionality for proxying the Swecha API.

Testing Strategy

Full suite run via npm run validate:

Check Result
Files formatted 74
Files linted / type-checked 51
i18n validation Passed
Tests 166 passed

Quality Checklist

  • npm run format:check passes
  • npm run lint passes
  • npm run typecheck passes
  • npm test passes
  • CHANGELOG.md updated via npm run changelog
  • No generated files or caches included in the diff.

Closes #35 (closed)

Edited by Kushal Lagichetty

Merge request reports

Loading