3

I have a particular workspace that for whatever reason auto formats on commit. I have disabled prettier and eslint and it still does this. Are there any settings or plugins that cause this to happen?

Thanks

asked May 9, 2019 at 22:27
2
  • 1
    Check to see if this particular repo has any git hooks associated with it. Commented May 9, 2019 at 22:32
  • That was it, thanks so much! Commented May 10, 2019 at 0:03

1 Answer 1

2

The problem may be caused by a Git hook triggering. Check the .git/hooks folder for any file not ending in .sample and remove or edit as needed.

Credit to Dan Forbes's comment.

answered Feb 2, 2021 at 2:57
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.