Skip to content

Prettier#168

Merged
abhitrueprogrammer merged 3 commits intoCodeChefVIT:prodfrom
upayanmazumder-DevLabs:prod
Oct 19, 2025
Merged

Prettier#168
abhitrueprogrammer merged 3 commits intoCodeChefVIT:prodfrom
upayanmazumder-DevLabs:prod

Conversation

@upayanmazumder
Copy link
Copy Markdown
Member

Setup prettier and husky

This pull request introduces project-wide code style improvements, automated formatting tools, and several documentation enhancements. The main focus is on enforcing consistent code formatting using Prettier, integrating linting and formatting checks into the development workflow, and updating documentation for clarity. Additionally, there are many minor changes to unify quote usage across the codebase.

Code Style and Tooling Improvements

Documentation Updates

  • Improved README.md by clarifying feature descriptions, adding spacing for readability, and updating instructions for getting started and meeting the team. [1] [2] [3] [4]
  • Enhanced CONTRIBUTING.md with better structure and additional guidance for contributors. [1] [2]

@IshanJ25 IshanJ25 requested a review from Copilot October 18, 2025 17:09
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request implements comprehensive code formatting and style standardization across the entire codebase by introducing Prettier, Husky, and lint-staged tools. The main objective is to enforce consistent code style and automate formatting processes through pre-commit hooks.

  • Added Prettier configuration with automatic code formatting on commit
  • Integrated Husky pre-commit hooks to ensure code quality before commits
  • Standardized quote usage from double quotes to single quotes throughout all TypeScript/JavaScript files

Reviewed Changes

Copilot reviewed 120 out of 135 changed files in this pull request and generated no comments.

Show a summary per file
File Description
.husky/pre-commit Added pre-commit hook to run lint-staged
package.json Updated with Prettier, Husky, and lint-staged dependencies and scripts
.prettierrc & .prettierignore Added Prettier configuration files
src/lib/db.ts Changed double quotes to single quotes
src/lib/TimeTableContext.tsx Applied Prettier formatting with single quotes and line consolidation
src/hooks/useScreenSize.tsx Added missing semicolons and switched to single quotes
src/data/faq.ts Reformatted multiline strings and switched to single quotes
Multiple data files (faculty, course data) Consistent quote standardization across all data files

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Copy Markdown
Contributor

@abhitrueprogrammer abhitrueprogrammer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm
-IJ

@abhitrueprogrammer abhitrueprogrammer merged commit 4299c09 into CodeChefVIT:prod Oct 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants