Skip to content

Setup git husky hook to format code before commit #178

@aayushchugh

Description

@aayushchugh

Problem

currently alot of people commit code without following eslint guidelines or without formatting code

Solution

Setup pre commit hook to format code before commit.

Reference

https://www.coffeeclass.io/articles/commit-better-code-with-husky-prettier-eslint-lint-staged

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

✅ Done

Relationships

None yet

Development

No branches or pull requests

Issue actions