-
Notifications
You must be signed in to change notification settings - Fork 1
Add yarn commands #21
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should also update .githooks/pre-commit.sh
script
What exactly do you want to update in |
It should use yarn commands instead of |
In that case, I'm not sure about it. Commands in |
Imho if we require some checks on code like format or lint it should be checked also in pre-commit, otherwise i do not see a reason for it to be present. It is annoying if pre-commit passes and then github action fails. In this case we should delete pre-commit script or update to be the same as lint/format checks. |
I guess that is the point of pre-commit script - to fail if code is not 'commitable'. Not all eslint rules can be autofixed. Also there are many rules on precommit hook that can be added, that will fail commit (checking version of tools used as an example) |
EX-527
Add simple commands to automatically format/lint iOS code