Skip to content

Commit

Permalink
replace lint-staged + prettier with pretty-quick + husky; readd eslint
Browse files Browse the repository at this point in the history
- lint-staged and prettier do not handle partially staged files properly
  (see lint-staged/lint-staged#62)
  instead, the whole file gets readded through git add in the hook
  this is surprising and unexpected behaviour
  pretty-quick --staged should not re-stage partially staged files
  and should exit with a non-zero errorcode to let the user know.
- eslint does more than just formatting and can be used together with
  prettier
  • Loading branch information
omer-ilhan committed Aug 27, 2018
1 parent b0e3db5 commit 101df7e
Show file tree
Hide file tree
Showing 2 changed files with 855 additions and 664 deletions.

0 comments on commit 101df7e

Please sign in to comment.