Skip to content

πŸ“[Docs]: Apply ESLint and Prettier formatting to entire codebaseΒ #807

@sheikhlimon

Description

@sheikhlimon

Is there an existing issue for this?

  • I have searched the existing issues

Issue Description

Description

After merging PR #805 (ESLint/Prettier configuration), we need to apply the formatting rules to the entire codebase in a separate commit.

Context

The ESLint and Prettier configuration has been added, but no code has been reformatted yet. This keeps the configuration PR reviewable and separates tooling changes from code changes.

Tasks

  • Pull the latest changes from main branch
  • Run npm install to ensure all dependencies are installed
  • Run npm run lint:fix to auto-fix linting issues
  • Run npm run format to format all code files
  • Verify build succeeds with npm run build
  • Review the changes to ensure no code logic was broken

Files Affected

  • All .js, .jsx, .ts, .tsx files
  • All .json and .css files
  • NOT markdown/MDX files (protected by .prettierignore)

Suggested Change

This will format approximately 107+ files with:

  • Consistent indentation (2 spaces)
  • double quotes instead of single quotes
  • Consistent semicolon usage
  • Proper line breaks and spacing

Commands to Run

npm run lint:fix && npm run format
npm run build

Rationale

  • The diff will be large but should only contain formatting changes, no logic changes
  • This is a one-time operation - future PRs will have minimal formatting diffs
  • Documentation files are excluded to preserve MDX syntax

Urgency

Medium

Record

  • I have read the Contributing Guidelines
  • Are you a GSSOC'25 contributor
  • I want to work on this issue

Metadata

Metadata

Assignees

Type

Projects

Status

In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions