Skip to content
This repository has been archived by the owner on Apr 1, 2023. It is now read-only.

setup Husky and Lint-staged #297

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

frani
Copy link

@frani frani commented Sep 30, 2020

Also styled the existent code in template folders with prettier --write

sometimes files are not save or may another reason prettier does not run over some files, to avoid commit or publish code without common style, husky and lint-staged helps with that. May be already know, anyway it case if not, I leave a medium post about it

@portexe
Copy link

portexe commented Nov 25, 2020

You should add a Prettier configuration file with some explicit format rules at the root level. Without that, it could be different on various environments.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants