Skip to content

[implement] : Pre-commit Hook for Auto-formatting Solidity Files #12

@Nikuunj

Description

@Nikuunj

Description

Add a Git pre-commit hook to automatically format Solidity and related files before each commit.
The setup should run Prettier on staged files, re-stage the formatted changes, and block the commit if formatting fails. This ensures consistent code style and prevents unformatted code from being committed.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions