Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add git hook for auto-format node project #100

Open
Ar-Kan opened this issue Jun 7, 2023 · 1 comment
Open

Add git hook for auto-format node project #100

Ar-Kan opened this issue Jun 7, 2023 · 1 comment

Comments

@Ar-Kan
Copy link
Contributor

Ar-Kan commented Jun 7, 2023

In order to maintain reliability of the code, if more than one developer will modify it, it's necessary to have a universal code style.

The easiest way to do it is with a pre-commit hook for auto-formating.

An example is Prettier with Husky.

@nfx
Copy link
Owner

nfx commented Jun 10, 2023

PR is welcome :) add it as "make fmt-ui"

@Ar-Kan Ar-Kan mentioned this issue Jun 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants