Skip to content

Conversation

@n1k0
Copy link
Collaborator

@n1k0 n1k0 commented Mar 12, 2017

  • Activate a git precommit hook for linting and formatting code against prettier coding style. That way nobody is forced to run the cs-format command manually before pushing changes, and/or to configure text editors appropriately.
  • The hook is only executed when files matching {playground,src,test}/**/*.js are touched.
  • Also updated prettier options to use es5 trailing commas.

screenshot at 11 51 17

Also updated prettier options to use es5 trailing commas.
@n1k0 n1k0 merged commit 7206a2a into master Mar 12, 2017
@n1k0 n1k0 deleted the prettier-git-precommit-hook branch March 12, 2017 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants