Add Husky hooks, CI workflow, and contribution guidelines#13
Merged
Conversation
Pre-commit runs lint-staged (ESLint + Prettier on staged files) and a project-wide typecheck. Pre-push runs full lint, typecheck, and next build so any pushed branch is guaranteed buildable.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a comprehensive set of improvements to project infrastructure, code quality enforcement, and documentation. The most significant changes include the addition of a detailed contribution guide, the setup of continuous integration (CI) workflows, and the enforcement of consistent code style and type safety through automated hooks and configuration files. Additionally, minor codebase cleanups and formatting consistency improvements have been made across several files.
Documentation and Contribution Process:
.github/CONTRIBUTING.mdoutlining GitHub Flow, branch protection, CI/CD, and deployment guardrails for both developers and maintainers.AGENTS.mdto reference the new contribution guide for agent and human contributor alignment.Continuous Integration and Code Quality Automation:
.github/workflows/ci.yml) to automatically run linting, type checking, and formatting checks on pull requests and pushes tomain.pre-commitrunslint-staged, formatting, and type checking before commits.pre-pushruns full lint, format check, type check, and build before pushes..gitattributes.Code Style and Formatting Consistency:
.prettierrc.json(empty config for Prettier defaults) and.prettierignoreto standardize formatting and ignore build/artifact files. [1] [2]app/api/releases/route.ts,app/features/page.tsx,app/download/page.tsx, andapp/docs/page.tsx). [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]These changes collectively improve the project's maintainability, enforce higher code quality standards, and provide clear guidance for contributors and maintainers.