lint-staged allows us to run scripts on staged files in git. See this blog post about lint-staged to learn more about it. prettier is the JavaScript formatter we will run before commits. Now we can ...