Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(v2): fix slow commits due to lint-staged #3259

Merged
merged 4 commits into from
Aug 11, 2020

Conversation

slorber
Copy link
Collaborator

@slorber slorber commented Aug 11, 2020

Motivation

Lint staged should call eslint and prettier, but only on modified files, not running on all the files.

This makes committing much faster, as we don't have to wait for 20seconds...

@slorber slorber added the pr: maintenance This PR does not produce any behavior differences to end users when upgrading. label Aug 11, 2020
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Aug 11, 2020
@docusaurus-bot
Copy link
Contributor

Deploy preview for docusaurus-2 ready!

Built with commit a55987a

https://deploy-preview-3259--docusaurus-2.netlify.app

@slorber slorber merged commit cf53584 into master Aug 11, 2020
@slorber slorber deleted the slorber/eslint-only-changed branch August 11, 2020 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: maintenance This PR does not produce any behavior differences to end users when upgrading.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants