Skip to content

Feature Request: Automated Formatting & Linting Workflow #2534

@Sourya07

Description

@Sourya07

Current Behavior

Currently, code formatting is not enforced automatically. This can lead to:
• Inconsistent code style across files
• Formatting-only diffs in PRs
• Extra review overhead for maintainers
• Style regressions slipping into master

Proposed Solution

->Implement Prettier with a CI-based formatting check that runs on every Pull Request.

Tooling Choice
• Formatter: Prettier
• Why Prettier?
• Supports JavaScript, CSS, HTML, Markdown, and YAML
• Minimal configuration
• Widely adopted and contributor-friendly

Verification Plan

•	Open a test PR with intentionally unformatted code → workflow should fail
•	Format the code locally using npm run format → workflow should pass
•	Ensure contributors can easily fix issues locally

Screenshots / Mockups


Contributor Guides and Resources

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions