Skip to content

Add Lint and Format Scripts - #1060

Open
dpi26 wants to merge 2 commits into
Aditya8369:mainfrom
dpi26:main
Open

Add Lint and Format Scripts#1060
dpi26 wants to merge 2 commits into
Aditya8369:mainfrom
dpi26:main

Conversation

@dpi26

@dpi26 dpi26 commented Aug 26, 2026

Copy link
Copy Markdown

Add Lint and Format Scripts

Summary

This PR adds ESLint and Prettier commands to improve code quality, consistency, and developer workflow.

Changes Made

CONTRIBUTING.md

  • Added documentation for running:

    • npm run lint
    • npm run format

package.json

Added the following scripts:

"lint": "eslint .",
"format": "prettier --write ."
  • npm run lint checks the project for ESLint errors and warnings.
  • npm run format automatically formats project files using Prettier.

package-lock.json

  • Updated to record the required Prettier dependency and its dependency tree.

Testing

Verified the following commands:

npm run lint
npm run format

Benefits

  • Provides a consistent code style across the project.
  • Makes linting easier for contributors.
  • Reduces formatting-related issues in pull requests.
  • Improves overall code maintainability.

Type of Change

  • Developer tooling
  • Documentation
  • Code quality improvement
  • Bug fix
  • New feature

dpi26 added 2 commits August 19, 2026 20:42
## Description

Updated the "Code Formatting & Linting" section in `CONTRIBUTING.md` to provide contributors with the exact npm commands required for maintaining code quality and formatting.

## Changes Made

- Added the linting command:
  ```bash
  npm run lint
@dpi26
dpi26 requested a review from Aditya8369 as a code owner August 26, 2026 18:44
@vercel

vercel Bot commented Aug 26, 2026

Copy link
Copy Markdown

@dpi26 is attempting to deploy a commit to the Aditya Mahajan's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions

Copy link
Copy Markdown

Thank You for Your Contribution! 🎉

Hi @dpi26,

Thank you for opening this Pull Request and contributing to our project. We truly appreciate your efforts.

Please make sure that:

  • Your code follows the project's guidelines.
  • You have linked the appropriate issue (if applicable).
  • Screenshots are added for UI/UX changes.
  • Your PR is ready for review.

The maintainer @Aditya8369 will review your PR shortly!

Happy Contributing! 🚀

@github-actions github-actions Bot added the ECSoC26 Contributions considered under ECSoC'26 label Aug 26, 2026
@Aditya8369

Copy link
Copy Markdown
Owner

@dpi26 conflicts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ECSoC26 Contributions considered under ECSoC'26

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants