See more configurations in the Makefile.
make all
This repository use pre-commit to help developers keep the code quality.
If you install hooks, pre-commit will styling and linting before code committing.
# or check the installation page: https://pre-commit.com/#install
brew install pre-commit
pre-commit install --install-hooks -t commit-msg -t pre-commit
This repository use EditorConfig and editorconfig-checker to help me keep the consistent coding styles :)
run below command to check format
editorconfig-checker
Also, we have Prettier to further ensure the code format of the project.
run below command to check format
npx prettier --check **/*.{js,ts,md,json,yaml}
or use --write
to directly re-write it
npx prettier --write **/*.{js,ts,md,json,yaml}